]> git.ozlabs.org Git - ppp.git/blob - pppstats/Makefile.linux
add linkname option
[ppp.git] / pppstats / Makefile.linux
1 #
2 # pppstats makefile
3 # $Id: Makefile.linux,v 1.3 1998/03/25 02:21:20 paulus Exp $
4 #
5
6 PPPSTATSRCS = pppstats.c
7 PPPSTATOBJS = pppstats.o
8
9 #CC = gcc
10 COPTS = -O
11 COMPILE_FLAGS = -D_linux_ -I../include
12 LIBS =
13
14 INSTALL= install -o root -g daemon
15
16 CFLAGS = $(COPTS) $(COMPILE_FLAGS)
17
18 all: pppstats
19
20 install: pppstats
21         $(INSTALL) -s -c pppstats $(BINDIR)/pppstats
22         $(INSTALL) -c -m 444 pppstats.8 $(MANDIR)/man8/pppstats.8
23
24 pppstats: $(PPPSTATSRCS)
25         $(CC) $(CFLAGS) -o pppstats pppstats.c $(LIBS)
26
27 clean:
28         rm -f pppstats *~ #* core
29
30 depend:
31         cpp -M $(CFLAGS) $(PPPSTATSRCS) >.depend
32 #       makedepend $(CFLAGS) $(PPPSTATSRCS)