GNUmakefile.in 422 Bytes
Newer Older
1 2 3 4 5 6
include ../Makeconf

all: capture

include ../GNUmakerules

7
DESTDIR=
8 9 10 11 12 13

#
# Define LOG_DROPS to record warnings in syslog whenever chars were dropped
# due to the output device/pty being full.
#
CFLAGS= -g -O2 -DLOG_DROPS
14 15 16 17

capture: capture.c
	cc $(CFLAGS) -o capture capture.c

18 19 20 21 22
#
# Do not install by default.
#
install:
real-install:	all
23 24
	install -s capture $(DESTDIR)/usr/site/bin

25
clean:
26
	rm -f *.o capture core errs Errs