diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -16,7 +16,7 @@ LDFLAGS=-rdynamic -lm -ldl #COMMON_FLAGS+=-fprofile-arcs -ftest-coverage #LDFLAGS+=-lgcov -all: builddir build/tuplr +all: builddir build/resp builddir: mkdir -p build @@ -33,26 +33,26 @@ OBJECTS = \ build/pprint.o \ build/repl.o \ build/tlsf.o \ - build/tuplr.o \ + build/resp.o \ build/unify.o \ - build/tuplr_gc.o + build/resp_gc.o LLVM_OBJECTS = build/llvm.o #LLVM_OBJECTS = -build/tuplr: $(OBJECTS) $(LLVM_OBJECTS) +build/resp: $(OBJECTS) $(LLVM_OBJECTS) g++ -o $@ $(OBJECTS) $(LLVM_OBJECTS) $(LDFLAGS) $(LLVM_LDFLAGS) -build/%.o: src/%.cpp src/tuplr.hpp +build/%.o: src/%.cpp src/resp.hpp g++ $(CXXFLAGS) -o $@ -c $< build/tlsf.o: src/tlsf.c src/tlsf.h gcc $(CFLAGS) -o $@ -c $< -build/llvm.o: src/llvm.cpp src/tuplr.hpp +build/llvm.o: src/llvm.cpp src/resp.hpp g++ $(CXXFLAGS) $(LLVM_CXXFLAGS) -o $@ -c src/llvm.cpp -build/%.so: src/%.cpp src/tuplr.hpp +build/%.so: src/%.cpp src/resp.hpp g++ -shared $(CXXFLAGS) -o $@ $^ clean: @@ -62,9 +62,9 @@ check: ./test.sh doc: - doxygen ./tuplr.dox + doxygen ./resp.dox install-support: install -d ~/.vim/indent ~/.vim/syntax - install -m 644 ./support/vim/indent/tuplr.vim ~/.vim/indent/tuplr.vim - install -m 644 ./support/vim/syntax/tuplr.vim ~/.vim/syntax/tuplr.vim + install -m 644 ./support/vim/indent/resp.vim ~/.vim/indent/resp.vim + install -m 644 ./support/vim/syntax/resp.vim ~/.vim/syntax/resp.vim |