summaryrefslogtreecommitdiff
path: root/pppdump/Makefile.linux
blob: d02fecde8d3d26fad38b93780de47cff2fd7785b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CFLAGS= -O -I../include/net
OBJS = pppdump.o bsd-comp.o deflate.o zlib.o

INSTALL= install

all:	pppdump

pppdump: $(OBJS)
	$(CC) -o pppdump $(OBJS)

clean:
	rm -f pppdump $(OBJS) *~

install:
	mkdir -p $(BINDIR) $(MANDIR)/man8
	$(INSTALL) -s -c pppdump $(BINDIR)
	$(INSTALL) -c -m 444 pppdump.8 $(MANDIR)/man8