From 9af8a4e83adec1cc2c550418365dee05c9ebd544 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Thu, 2 Dec 2010 21:43:08 +0000 Subject: [PATCH] exe.mk, run.mk: Make target test an alias for target run --- make/exe.mk | 2 +- make/run.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/make/exe.mk b/make/exe.mk index 22cea60d..6e286097 100644 --- a/make/exe.mk +++ b/make/exe.mk @@ -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 diff --git a/make/run.mk b/make/run.mk index 371ec157..87fbc31e 100644 --- a/make/run.mk +++ b/make/run.mk @@ -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