summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-06-17 18:10:44 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-06-17 18:10:44 +0200
commit59ddf80e3dd84841e2cd1d563bc6b43ad489fdb6 (patch)
treee0879a44fdf02a4e5125691826ed0874ba00c97b
parent9c474fa5b3c31515b91093a0918b6821fe51d231 (diff)
GNUmakefile: Minor improvements.
-rw-r--r--GNUmakefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 851c7fa..119bc57 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -34,6 +34,7 @@ ToiletKit_OBJC_FILES = MLKCharacter.m MLKCons.m MLKDoubleFloat.m \
MLKUndefinedVariableException.m \
NSObject-MLKPrinting.m
ToiletKit_LDFLAGS = -lgmp
+#LIBRARIES_DEPEND_UPON
#TOOL_NAME = etoilet
#etoilet_OBJC_FILES = main.m
@@ -57,7 +58,10 @@ include $(GNUSTEP_MAKEFILES)/framework.make
include $(GNUSTEP_MAKEFILES)/tool.make
-include GNUmakefile.postamble
-before-all::
+before-all:: before-etshell
+
+before-etshell::
+ rm -f obj/etshell
mkdir -p $(GNUSTEP_OBJ_DIR)/StepTalkShell
#after-clean::
@@ -66,5 +70,5 @@ before-all::
test: Test
ukrun Test.bundle
-run: ToiletKit etshell
+run: before-etshell ToiletKit etshell
env LD_LIBRARY_PATH=`pwd`/ToiletKit.framework/Versions/Current:/usr/local/lib obj/etshell