File: Makefile.old

package info (click to toggle)
squidview 0.79-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 576 kB
  • sloc: cpp: 5,028; sh: 985; makefile: 23
file content (24 lines) | stat: -rw-r--r-- 691 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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)