#--------------------------------------------------------------------- # makefile2 # Author: Bob Dondero # Non-File Targets #--------------------------------------------------------------------- #--------------------------------------------------------------------- # Dependency rules for non-file targets #--------------------------------------------------------------------- all: testintmath clobber: clean rm -f *~ \#*\# core clean: rm -f testintmath *.o #--------------------------------------------------------------------- # Dependency rules for file targets #--------------------------------------------------------------------- testintmath: testintmath.o intmath.o gcc -Wall -ansi -pedantic testintmath.o intmath.o -o testintmath testintmath.o: testintmath.c intmath.h gcc -Wall -ansi -pedantic -c testintmath.c intmath.o: intmath.c intmath.h gcc -Wall -ansi -pedantic -c intmath.c