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
be7e0a9
..
adcff72
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,21
+33,27
@@
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: m
iniksp
+all: m
tp random-graph
TAGS: *.cc *.h
etags --members -l c++ *.cc *.h
TAGS: *.cc *.h
etags --members -l c++ *.cc *.h
-miniksp: \
- miniksp.o
+random-graph: \
+ random-graph.o
+ $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
+
+mtp: \
+ mtp_graph.o \
+ tracker.o \
+ mtp.o
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
Makefile.depend: *.h *.cc Makefile
$(CC) $(CXXFLAGS) -M *.cc > Makefile.depend
clean:
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
Makefile.depend: *.h *.cc Makefile
$(CC) $(CXXFLAGS) -M *.cc > Makefile.depend
clean:
- \rm -f m
iniks
p *.o Makefile.depend TAGS
+ \rm -f m
t
p *.o Makefile.depend TAGS
-include Makefile.depend
-include Makefile.depend