1 # Makefile for the nwho toolkit
3 CFLAGS=-O2 -Wall -Wno-parentheses
12 nwhod.o: nwhod.c net.h
19 rm -f *.o nwhod nwho *~
23 mkdir -p $(ROOT)/usr/bin $(ROOT)/usr/sbin
24 install -s -m 755 nwho $(ROOT)/usr/bin
25 ln -sf nwho $(ROOT)/usr/bin/nuptime
26 install -s -m 755 nwhod $(ROOT)/usr/sbin
27 install -d -m 755 $(ROOT)/var/spool/nwho
32 rm -rf `find dist/$(REL) -name CVS -o -name tmp` dist/$(REL)/dist
33 cd dist ; tar czvvf /tmp/$(REL).tar.gz $(REL)