From: Michal Sojka Date: Mon, 28 Feb 2011 10:02:07 +0000 (+0100) Subject: Update Makefile to look more like a makefile :-) X-Git-Url: https://rtime.felk.cvut.cz/gitweb/boost-statechart-viewer.git/commitdiff_plain/ec864f89788abf6fac3f59392847d99b1d110f6f Update Makefile to look more like a makefile :-) --- diff --git a/src/Makefile b/src/Makefile index a49fce3..0f8f45d 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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)