mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
exe.mk, run.mk: Make target test an alias for target run
This commit is contained in:
parent
044b3e08ea
commit
9af8a4e83a
2 changed files with 3 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ include $(MODDIR)/make/depend.mk
|
|||
|
||||
all: $(EXE) $(BUILD_EXE_BIN) $(STRIP_DONE)
|
||||
install: $(INSTALLED_EXE) $(INSTALLED_EXE_BIN)
|
||||
run: all.dirs $(EXE) $(EXE_BIN)
|
||||
run test: all.dirs $(EXE) $(EXE_BIN)
|
||||
strace: $(EXE) $(EXE_BIN)
|
||||
kdbg gdb ddd:
|
||||
debug: gdb
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ callgrind:
|
|||
valgrind --tool=callgrind $(VALGRIND_OPTS) ./$(EXE) $(EXE_ARGS)
|
||||
|
||||
ifeq ($(TARGET),mingw)
|
||||
run:
|
||||
run test:
|
||||
@echo "wine $(EXE) $(EXE_ARGS)"
|
||||
@echo -e "set PATH=%PATH;$(DLL_PATH)\n" \
|
||||
"$(EXE) $(EXE_ARGS)" | wine cmd
|
||||
|
|
@ -31,7 +31,7 @@ clean: winrunclean
|
|||
winrunclean:
|
||||
rm -f start.bat
|
||||
else
|
||||
run:
|
||||
run test:
|
||||
rm -f $(CORE)
|
||||
./$(EXE) $(EXE_ARGS)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue