From 113c5905ecad09fa34a6440209b0814acf0012e3 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sat, 9 Aug 2008 23:52:17 +0200 Subject: Beginnings of a compiler. --- GNUmakefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 0cb2e7f..cff81a7 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -70,6 +70,13 @@ ToiletKit_OBJCFLAGS = -Wall ToiletKit_LDFLAGS = -lgmp -lffi -ldl #LIBRARIES_DEPEND_UPON +USE_LLVM := YES +ifeq ($(USE_LLVM),YES) +ToiletKit_OBJCC_FILES = MLKLLVMCompiler.mm +ToiletKit_OBJCCFLAGS = `llvm-config --cflags` +ToiletKit_LDFLAGS += `llvm-config --ldflags` `llvm-config --libs` +endif + #TOOL_NAME = etoilet #etoilet_OBJC_FILES = main.m #etoilet_OBJC_LIBS = -lToiletKit -LToiletKit.framework -- cgit v1.2.3