]> rtime.felk.cvut.cz Git - boost-statechart-viewer.git/commitdiff
Update Makefile to look more like a makefile :-)
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 28 Feb 2011 10:02:07 +0000 (11:02 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 28 Feb 2011 10:02:07 +0000 (11:02 +0100)
src/Makefile

index a49fce356b6d2eb6294ff561ab96e68dc6da056d..0f8f45d1aa3a8dca8c364c1461793608de41eae1 100644 (file)
@@ -5,8 +5,8 @@ LLVM_BIN= $(CURDIR)/../_install/bin
 
 LLVM_CONFIG := $(shell $(LLVM_BIN)/llvm-config --cxxflags --ldflags --libs jit core)
 
-g++ : visualizer.cpp
-       g++ visualizer.cpp -o visualizer -g -lclangParse -lclangFrontend -lclangSerialization \
+visualizer: visualizer.cpp commandlineopt.h stringoper.h
+       g++ $< -o $@ -g -lclangParse -lclangFrontend -lclangSerialization \
        -lclangDriver -lclangCodeGen -lclangSema -lclangChecker \
        -lclangAnalysis -lclangRewrite -lclangAST -lclangLex -lclangBasic \
        $(LLVM_CONFIG)