Codebase list squidview / upstream/0.65 Makefile.old
upstream/0.65

Tree @upstream/0.65 (Download .tar.gz)

Makefile.old @upstream/0.65raw · history · blame

# squidview makefile

# For the curious, see if my code conforms to standards.
# It doesn't on Debian 3.0 or Redhat 9.0 ie no 64-bit
# long long integer in ansi c++. Remove/add some of the
# below directives as you please. I use -Wall -Werror.
#CXXFLAGS = 	-Wall -ansi -pedantic -Werror
CXXFLAGS =

CXX =		c++
PREFIX =	/usr/local
BINDIR =	$(PREFIX)/bin
DATADIR =	$(PREFIX)/share
DOCDIR =	$(DATADIR)/doc

squidview:	squidview.cpp squidview.h
	$(CXX) squidview.cpp $(CXXFLAGS) -lncurses -o squidview

oldgcc:	squidview.cpp squidview.h
	$(CXX) squidview.cpp $(CXXFLAGS) -fhandle-exceptions -lncurses -o squidview

install:
	install -d $(DESTDIR)$(BINDIR)
	install squidview $(DESTDIR)$(BINDIR)