1 CC = gcc 2 CFLAGS = -Wall -O 3 LDFLAGS = -ltcl -ltclx 4 BOBJ = encrypt.o screenio.o billing.o variable.o 5 MOBJ = menumake.o 6 BIN = billing menumake 7 8 all: $(BIN) 9 clean: cleanobj 10 rm -f core $(BIN) *~ 11 cleanobj: 12 rm -f core $(BOBJ) $(MOBJ) 13 14 billing: $(BOBJ) 15 menumake: $(MOBJ) 16 menumake.o: menumake.c billing.h 17 billing.o: billing.c billing.h 18 encrypt.o: encrypt.c encrypt.h 19 screenio.o: screenio.c screenio.h 20 variable.o: variable.c variable.h |