Items are posted in reverse chronological order (i.e., newest to oldest).
April 8
Here is a sample makefile for project 3. You should be able to paste it into your own directory using your favorite editor. There is a TAB after each colon, and each of the "command" lines begins with a TAB.
CFLAGS= -Wall -ansi -g
runit : a.out
a.out
a.out: proj3.o keno.o
gcc proj3.o keno.o $(CFLAGS) -lm
proj3.o: proj3.c keno.h
gcc -c $(CFLAGS) proj3.c
keno.o: keno.c keno.h
gcc -c $(CFLAGS) keno.c
clean:
rm -f a.out proj3.o keno.o