X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=mtp.git;a=blobdiff_plain;f=Makefile;h=edb6eb6a8edb30bbe40c7df9acc97dc58768b32d;hp=5f9d12499c9cf640c209e32444761bf7f769a9cd;hb=20f94c6bff1541da8d0639966787dc8aaafea025;hpb=62fdbfb1b57b7c0be6aa8e48654872315b0d1660 diff --git a/Makefile b/Makefile index 5f9d124..edb6eb6 100644 --- a/Makefile +++ b/Makefile @@ -41,11 +41,7 @@ endif CXXFLAGS = -Wall $(OPTIMIZE_FLAG) $(PROFILE_FLAG) $(VERBOSE_FLAG) -all: mtp mtp_example - -random-graph: \ - random-graph.o - $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS) +all: mtp mtp_example mtp_stress_test mtp: \ path.o \ @@ -61,10 +57,17 @@ mtp_example: \ mtp_example.o $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS) +mtp_stress_test: \ + path.o \ + mtp_graph.o \ + mtp_tracker.o \ + mtp_stress_test.o + $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS) + Makefile.depend: *.h *.cc Makefile $(CC) $(CXXFLAGS) -M *.cc > Makefile.depend clean: - \rm -f mtp mtp_example *.o Makefile.depend + \rm -f mtp mtp_example mtp_stress_test *.o Makefile.depend -include Makefile.depend