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.
 
 
 
 

22 lines
459 B

  1. # Optional compiler flags
  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. ../strutil.o: ../strutil.cpp ../strutil.h
  6. cd .. && make strutil.o
  7. mainskin.cxx: mainskin.tmpl
  8. cppcms_tmpl_cc -o $@ mainskin.tmpl
  9. mainskin.o: mainskin.cxx data.h
  10. g++ $O -c mainskin.cxx
  11. .PHONY: clean distclean
  12. clean:
  13. rm *.o *.cxx || true
  14. distclean: clean
  15. rm trafficctrl || true