]> git.ozlabs.org Git - ppp.git/blob - pppstats/Makefile.sol2
use cc by default
[ppp.git] / pppstats / Makefile.sol2
1 #
2 # pppstats Makefile for SVR4 systems
3 # $Id: Makefile.sol2,v 1.5 1996/09/14 05:12:45 paulus Exp $
4 #
5
6 BINDIR = /usr/local/bin
7 MANDIR = /usr/local/man
8 INSTALL = /usr/sbin/install
9
10 # For gcc
11 #CC = gcc
12 #COPTS = -g -O
13
14 # For sun c
15 COPTS = -O -Xa
16
17 CFLAGS = -I.. $(COPTS) -DSTREAMS
18
19 all: pppstats
20
21 pppstats: pppstats.c
22         $(CC) $(CFLAGS) -o pppstats pppstats.c
23
24 install: pppstats
25         $(INSTALL) -f $(BINDIR) pppstats
26         $(INSTALL) -m 444 -f $(MANDIR)/man8 pppstats.8
27
28 clean:
29         rm -f pppstats *~ core