projects
/
mtp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update.
[mtp.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
38d5110
..
2264c56
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-18,9
+18,9
@@
#########################################################################
ifeq ($(STATIC),yes)
#########################################################################
ifeq ($(STATIC),yes)
- LDFLAGS=-static -lm
-ljpeg -lpng -lz -lcairo
+ LDFLAGS=-static -lm
else
else
- LDFLAGS=-lm
-ljpeg -lpng -lcairo
+ LDFLAGS=-lm
endif
ifeq ($(DEBUG),yes)
endif
ifeq ($(DEBUG),yes)
@@
-33,14
+33,20
@@
ifeq ($(PROFILE),yes)
PROFILE_FLAG = -pg
endif
PROFILE_FLAG = -pg
endif
-CXXFLAGS = -Wall
-I/usr/include/cairo $(OPTIMIZE_FLAG) $(PROFILE_FLAG) $(CXXGLPK
)
+CXXFLAGS = -Wall
$(OPTIMIZE_FLAG) $(PROFILE_FLAG
)
-all: mtp
+all: mtp
random-graph
TAGS: *.cc *.h
etags --members -l c++ *.cc *.h
TAGS: *.cc *.h
etags --members -l c++ *.cc *.h
+random-graph: \
+ random-graph.o
+ $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
+
mtp: \
mtp: \
+ path.o mtp_graph.o \
+ tracker.o \
mtp.o
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
mtp.o
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)