Debian Codegraph @

consnoop/Makefile

raw
1 #
2 # This program is free software; you can redistribute it and/or modify
3 # it under the terms of the GNU General Public License as published by
4 # Free Software Foundation; either version 2 of the License, or
5 # (at your option) any later version.
6 #
7 # This program is distributed in the hope that it will be useful,
8 # but WITHOUT ANY WARRANTY; without even the implied warranty of
9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 # GNU General Public License for more details.
11 #
12 # You should have received a copy of the GNU General Public License along
13 # with this program; if not, write to the Free Software Foundation, Inc.,
14 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
15 #
16 # (C) Copyright Phil Dibowitz 2007
17 #
18
19 PREFIX?=/usr
20 BIN=bin
21 BINDIR=$(PREFIX)/$(BIN)
22 INSTALL?=/usr/bin/install
23 STRIP?=/usr/bin/strip
24 MAN?=$(PREFIX)/share/man
25
26 CXX?= g++
27 CXXFLAGS?= -g -Wall -O2
28 CXXFILES?= consnoop.cpp
29 LIBS?=
30 CPPFLAGS?=
31
32 all: consnoop
33
34 consnoop: $(CXXFILES)
35 $(CXX) $(CXXFLAGS) $(CXXFILES) -o consnoop $(CPPFLAGS)
36
37 install: consnoop
38 $(INSTALL) -m 0755 consnoop $(BINDIR)
39
40
41 clean:
42 /bin/rm -f consnoop
43