diff options
author | Matthias Benkard <mulk@minimulk.mst-plus> | 2008-09-20 12:20:13 +0200 |
---|---|---|
committer | Matthias Benkard <mulk@minimulk.mst-plus> | 2008-09-20 12:20:13 +0200 |
commit | 5dc8e497315ba791c8a8de021f3d2d292566fb56 (patch) | |
tree | d60f939d709fac3fc90cb4e759f058138b1ef86d /GNUmakefile | |
parent | 784ddf7a6378e2bde5729c37993af65cb58deef2 (diff) |
Link ToiletKit with the SCM continuation support code.
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index c6bc134..41d8fb1 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -19,7 +19,7 @@ export USE_LLVM ADDITIONAL_OBJCFLAGS ADDITIONAL_LDFLAGS LLVM_CONFIG -KIT_TARGETS = ToiletKit +KIT_TARGETS = SCM/continue.o SCM/toilet-scm.o ToiletKit USE_LLVM := YES ifeq ($(USE_LLVM),YES) @@ -83,7 +83,10 @@ ToiletKit_OBJC_FILES = functions.m globals.m MLKArray.m \ MLKUnboundVariableError.m MLKValuesFunction.m \ NSObject-MLKPrinting.m NSString-MLKPrinting.m ToiletKit_OBJCFLAGS = -Wall -ToiletKit_LDFLAGS = -lgmp -lffi -ldl +ToiletKit_LDFLAGS = -lgmp -lffi -ldl SCM/continue.o SCM/toilet-scm.o + +SCM/%.o: SCM/%.c + $(CC) -o $@ -c $< $(CFLAGS) $(ToiletKit_OBJCFLAGS) $(ADDITIONAL_OBJCFLAGS) -fPIC # We copy the whole Sacla directory, because copying individual files causes them to # lose their relative path. Does anyone else think this is retarded? @@ -206,6 +209,9 @@ before-Test:: ToiletKit #after-clean:: # -rmdir $(GNUSTEP_OBJ_DIR)/StepTalkShell +after-clean:: + rm -f SCM/continue.o SCM/toilet-scm.o + ifneq ($(BUILD_TOILET_LLVM),YES) after-clean:: $(MAKE) clean shared=no BUILD_TOILET_LLVM=YES |