From 623a9f82ae7c92e76431ee88fea8d3054f6f926c Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Wed, 27 Aug 2008 23:33:42 +0200 Subject: Update GNUmakefile. --- GNUmakefile | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index e9fbdc3..4fe6a0b 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -26,12 +26,13 @@ ifeq ($(USE_LLVM),YES) KIT_TARGETS += libtoilet-llvm endif -default: $(KIT_TARGETS) toilet +default: $(KIT_TARGETS) toilet ToiletLisp include $(GNUSTEP_MAKEFILES)/common.make #all:: ToiletKit etshell Test +APP_NAME = ToiletLisp TOOL_NAME = etshell toilet FRAMEWORK_NAME = ToiletKit BUNDLE_NAME = Test @@ -130,17 +131,31 @@ toilet_OBJC_FILES = MLKReadEvalPrintLoop.m toilet_OBJCC_FILES = _stamp.mm toilet_OBJC_LIBS += -ledit -lncurses -LToiletKit.framework \ -LToiletKit.framework/Versions/Current -lToiletKit - toilet_OBJCFLAGS = -Wall ifeq ($(USE_LLVM),YES) toilet_OBJC_LIBS += -Lobj -ltoilet-llvm $(LLVM_LDFLAGS) endif + +ToiletLisp_OBJC_FILES = MLKListenerController.m ToiletLisp_main.m +#ToiletLisp_LOCALIZED_RESOURCE_FILES = Toilet.nib +ToiletLisp_RESOURCE_FILES = Toilet.nib +ToiletLisp_MAIN_MODEL_FILE = Toilet.gorm +ToiletLisp_OBJCC_FILES = _stamp.mm +ToiletLisp_OBJC_LIBS += -LToiletKit.framework \ + -LToiletKit.framework/Versions/Current -lToiletKit +ToiletLisp_OBJCFLAGS = -Wall + +ifeq ($(USE_LLVM),YES) +ToiletLisp_OBJC_LIBS += -Lobj -ltoilet-llvm $(LLVM_LDFLAGS) +endif + Test_OBJC_FILES = MLKLowLevelTests.m Test_OBJC_LIBS = -lUnitKit -LToiletKit.framework -lToiletKit -include GNUmakefile.preamble +include $(GNUSTEP_MAKEFILES)/application.make include $(GNUSTEP_MAKEFILES)/bundle.make include $(GNUSTEP_MAKEFILES)/framework.make include $(GNUSTEP_MAKEFILES)/library.make @@ -183,6 +198,11 @@ run-et: before-etshell ToiletKit etshell run-toilet: $(KIT_TARGETS) toilet env LD_LIBRARY_PATH="`pwd`/ToiletKit.framework/Versions/Current:/usr/local/lib" obj/toilet +run-app: $(KIT_TARGETS) ToiletLisp + env LD_LIBRARY_PATH="`pwd`/ToiletKit.framework/Versions/Current:/usr/local/lib" openapp ./ToiletLisp.app + +runapp: run-app + run: run-toilet debugging-run: $(KIT_TARGETS) toilet -- cgit v1.2.3