1 CC=cc 2 LD=cc 3 CFLAGS=-lg -spaf alm 4 LDFLAGS=-lg 5 #LDLIBS=-library >sl3p>c_compiler>e>libcurses.archive 6 EXT=cob 7 OUT=craps 8 9 all: craps 10 11 craps: craps.$(EXT) 12 $(CC) $(LDFLAGS) -of $(OUT) craps.$(EXT) $(LDLIBS) 13 14 clean: 15 delete craps *.cob 16 17 craps.$(EXT): craps.c 18 $(CC) $(CFLAGS) craps.c