projects
/
mtp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cosmetics.
[mtp.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
2264c56
..
523a3e4
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-29,13
+29,17
@@
else
OPTIMIZE_FLAG = -ggdb3 -O3
endif
OPTIMIZE_FLAG = -ggdb3 -O3
endif
+ifeq ($(VERBOSE),yes)
+ VERBOSE_FLAG = -DVERBOSE
+endif
+
ifeq ($(PROFILE),yes)
PROFILE_FLAG = -pg
endif
ifeq ($(PROFILE),yes)
PROFILE_FLAG = -pg
endif
-CXXFLAGS = -Wall $(OPTIMIZE_FLAG) $(PROFILE_FLAG)
+CXXFLAGS = -Wall $(OPTIMIZE_FLAG) $(PROFILE_FLAG)
$(VERBOSE_FLAG)
-all: mtp
random-graph
+all: mtp
mtp_example
TAGS: *.cc *.h
etags --members -l c++ *.cc *.h
TAGS: *.cc *.h
etags --members -l c++ *.cc *.h
@@
-50,6
+54,12
@@
mtp: \
mtp.o
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
mtp.o
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
+mtp_example: \
+ path.o mtp_graph.o \
+ tracker.o \
+ mtp_example.o
+ $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
+
Makefile.depend: *.h *.cc Makefile
$(CC) $(CXXFLAGS) -M *.cc > Makefile.depend
Makefile.depend: *.h *.cc Makefile
$(CC) $(CXXFLAGS) -M *.cc > Makefile.depend