1# squidview makefile 2 3# For the curious, see if my code conforms to standards. 4# It doesn't on Debian 3.0 or Redhat 9.0 ie no 64-bit 5# long long integer in ansi c++. Remove/add some of the 6# below directives as you please. I use -Wall -Werror. 7#CXXFLAGS = -Wall -ansi -pedantic -Werror 8CXXFLAGS = 9 10CXX = c++ 11PREFIX = /usr/local 12BINDIR = $(PREFIX)/bin 13DATADIR = $(PREFIX)/share 14DOCDIR = $(DATADIR)/doc 15 16squidview: squidview.cpp squidview.h 17 $(CXX) squidview.cpp $(CXXFLAGS) -lncurses -o squidview 18 19oldgcc: squidview.cpp squidview.h 20 $(CXX) squidview.cpp $(CXXFLAGS) -fhandle-exceptions -lncurses -o squidview 21 22install: 23 install -d $(DESTDIR)$(BINDIR) 24 install squidview $(DESTDIR)$(BINDIR) 25