X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=5f2807e097c62ee4cceb0183aa91f6945fcd4a7a;hb=ad2517dfc2d6dd190cfe865c6ac87ff6e3a4bc05;hp=be7e0a960ff3ac2a550cb55a486e6ec748104444;hpb=0428b7ae98e49c2ed98a24868f4ca2da8f3ab6e6;p=mtp.git diff --git a/Makefile b/Makefile index be7e0a9..5f2807e 100644 --- a/Makefile +++ b/Makefile @@ -35,19 +35,23 @@ endif CXXFLAGS = -Wall -I/usr/include/cairo $(OPTIMIZE_FLAG) $(PROFILE_FLAG) $(CXXGLPK) -all: miniksp +all: mtp random-graph TAGS: *.cc *.h etags --members -l c++ *.cc *.h -miniksp: \ - miniksp.o +random-graph: \ + random-graph.o + $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS) + +mtp: \ + mtp.o $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS) Makefile.depend: *.h *.cc Makefile $(CC) $(CXXFLAGS) -M *.cc > Makefile.depend clean: - \rm -f miniksp *.o Makefile.depend TAGS + \rm -f mtp *.o Makefile.depend TAGS -include Makefile.depend