# define BSTRING if your machine has /usr/include/bstrings.h #BSTRING=-DBSTRING # or use this line if your doesn't doesn't have it BSTRING= # define NOBCOPY if your machine lacks the "bcopy" and "bzero" functions # in its libraries (non-BSD systems may lack them) NOBCOPY=-DNOBCOPY # or else use this line #NOBCOPY= CC=gcc CFLAGS= -O2 $(BSTRING) $(NOBCOPY) -ansi -Wall rice: rice.o bits.o bits.h $(CC) -o rice rice.o bits.o /bin/rm -f unrice ln rice unrice rice.o: rice.c bits.h $(CC) $(CFLAGS) -c rice.c bits.o: bits.c bits.h $(CC) $(CFLAGS) -c bits.c shar: shar README Makefile rice.c bits.c bits.h rice.1 > rice.shar clean: /bin/rm -f *.o rice unrice # DO NOT DELETE THIS LINE -- make depend depends on it. rice.o: bits.h bits.o: bits.h