############################################### # makefile2 (Non-File Targets) ############################################### ############################################### # Build rules for non-file targets ############################################### all: testmymath clobber: clean rm -f *~ \#*\# core clean: rm -f testmymath *.o ############################################### # Build rules for file targets ############################################### testmymath: testmymath.o mymath.o gcc -o testmymath testmymath.o mymath.o testmymath.o: testmymath.c mymath.h gcc -Wall -ansi -pedantic -c -o testmymath.o testmymath.c mymath.o: mymath.c mymath.h gcc -Wall -ansi -pedantic -c -o mymath.o mymath.c