X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=mtp.git;a=blobdiff_plain;f=Makefile;h=bb334d1d94e3abae26ed8198429f56a88a1b2944;hp=edb6eb6a8edb30bbe40c7df9acc97dc58768b32d;hb=HEAD;hpb=eded836910fd54dcc621cea82c758761f0e636f9 diff --git a/Makefile b/Makefile index edb6eb6..bb334d1 100644 --- a/Makefile +++ b/Makefile @@ -39,9 +39,9 @@ ifeq ($(PROFILE),yes) PROFILE_FLAG = -pg endif -CXXFLAGS = -Wall $(OPTIMIZE_FLAG) $(PROFILE_FLAG) $(VERBOSE_FLAG) +CXXFLAGS = -Wconversion -Wall $(OPTIMIZE_FLAG) $(PROFILE_FLAG) $(VERBOSE_FLAG) -all: mtp mtp_example mtp_stress_test +all: mtp mtp_example mtp: \ path.o \ @@ -57,17 +57,10 @@ 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 mtp_stress_test *.o Makefile.depend + \rm -f mtp mtp_example *.o Makefile.depend -include Makefile.depend