|
123456789101112131415161718192021 |
- # Optional compiler flags
- #O=-std=c++11
-
- trafficctrl: trafficctrl.cpp data.h ../strutil.o mainskin.o
- g++ $O -o $@ $@.cpp mainskin.o ../strutil.o -lcppcms -lcppdb -lbooster
-
- ../strutil.o: ../strutil.cpp ../strutil.h
- cd .. && make strutil.o
-
- mainskin.cxx: mainskin.tmpl
- cppcms_tmpl_cc -o $@ mainskin.tmpl
- mainskin.o: mainskin.cxx data.h
- g++ $O -c mainskin.cxx
-
-
-
- .PHONY: clean distclean
- clean:
- rm *.o *.cxx || true
- distclean: clean
- rm trafficctrl || true
|