The Poor Man's (or Woman's) Intrusion Detection System
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 436 B

1234567891011121314151617
  1. # Optional compiler flags - C++CMS templates need C++11
  2. O=-std=c++11
  3. trafficctrl: trafficctrl.cpp data.h ../strutil.o mainskin.o
  4. g++ $O -o $@ $@.cpp mainskin.o ../strutil.o -lcppcms -lcppdb -lbooster
  5. mainskin.cxx: mainskin.tmpl
  6. cppcms_tmpl_cc -o $@ mainskin.tmpl
  7. mainskin.o: mainskin.cxx data.h
  8. g++ $O -c mainskin.cxx
  9. .PHONY: clean distclean
  10. clean:
  11. rm *.o *.cxx || true
  12. distclean: clean
  13. rm trafficctrl trafficctrl_cron || true