diff options
author | David Robillard <d@drobilla.net> | 2009-12-13 03:55:24 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-12-13 03:55:24 +0000 |
commit | 9d9fa6162295f3813d20f7a3ad4e07ccd6087c3c (patch) | |
tree | 5c94e5a95de2b8571863df8b482c4358c15666e4 /Makefile | |
parent | 51bd05ac7064714426db39215e5fa3d73a9631e7 (diff) | |
download | resp-9d9fa6162295f3813d20f7a3ad4e07ccd6087c3c.tar.gz resp-9d9fa6162295f3813d20f7a3ad4e07ccd6087c3c.tar.bz2 resp-9d9fa6162295f3813d20f7a3ad4e07ccd6087c3c.zip |
Update for LLVM 2.6.
git-svn-id: http://svn.drobilla.net/resp/tuplr@248 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,5 +1,7 @@ LLVM_CXXFLAGS=`llvm-config --cppflags core jit native` LLVM_LDFLAGS=`llvm-config --ldflags --libs core jit native` +#LLVM_CXXFLAGS=`llvm-config --cppflags all` +#LLVM_LDFLAGS=`llvm-config --ldflags --libs all` COMMON_FLAGS=-fPIC COMMON_FLAGS+=-Wextra -Wno-unused-parameter @@ -15,7 +17,6 @@ LDFLAGS=-rdynamic -lm -ldl #LDFLAGS+=-lgcov all: builddir build/tuplr - mkdir -p build builddir: mkdir -p build @@ -28,7 +29,6 @@ OBJECTS = \ build/gc.o \ build/lex.o \ build/lift.o \ - build/llvm.o \ build/parse.o \ build/pprint.o \ build/repl.o \ @@ -37,8 +37,11 @@ OBJECTS = \ build/unify.o \ build/tuplr_gc.o -build/tuplr: $(OBJECTS) - g++ -o $@ $(OBJECTS) $(LDFLAGS) $(LLVM_LDFLAGS) +LLVM_OBJECTS = build/llvm.o +#LLVM_OBJECTS = + +build/tuplr: $(OBJECTS) $(LLVM_OBJECTS) + g++ -o $@ $(OBJECTS) $(LLVM_OBJECTS) $(LDFLAGS) $(LLVM_LDFLAGS) build/%.o: src/%.cpp src/tuplr.hpp g++ $(CXXFLAGS) -o $@ -c $< |