#CFLAGS= # For Solaris 2.5.1 and above, uncomment the following line. #LIBS=-lresolv -lsocket -lnsl default: @clear @tail -19 README @echo " " @echo "Please read the README file first, then edit the Makefile" @echo "to suit your operating system, then use 'make gag'" gag: gag.o $(CC) -o gag gag.o $(LIBS) # This assumes the source is in a directory named "sickenscan". tar: sickenscan.tar sickenscan.tar: CHECKSUMS.asc (cd ..; tar -cvf sickenscan.tar \ sickenscan/Makefile sickenscan/gag.c sickenscan/README \ sickenscan/CHECKSUMS.asc) mv ../sickenscan.tar . CHECKSUMS.asc: CHECKSUMS.head Makefile README gag.c cat CHECKSUMS.head > CHECKSUMS grep Revision gag.c | grep gag >>CHECKSUMS echo "" >>CHECKSUMS md5sum Makefile README gag.c >>CHECKSUMS pgp -sta CHECKSUMS