projects
/
mtp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Now measures the elapsed time more precisely with gettimeofday.
[mtp.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
5f9d124
..
edb6eb6
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-41,11
+41,7
@@
endif
CXXFLAGS = -Wall $(OPTIMIZE_FLAG) $(PROFILE_FLAG) $(VERBOSE_FLAG)
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 \
mtp: \
path.o \
@@
-61,10
+57,17
@@
mtp_example: \
mtp_example.o
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
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:
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
-include Makefile.depend