Added the stress test. Ignore disconnected nodes when checking the residual error.
[mtp.git] / Makefile
index aecad04..edb6eb6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ endif
 
 CXXFLAGS = -Wall $(OPTIMIZE_FLAG) $(PROFILE_FLAG) $(VERBOSE_FLAG)
 
-all: mtp mtp_example
+all: mtp mtp_example mtp_stress_test
 
 mtp: \
        path.o \
@@ -57,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