############################################### # makefile3 (Abbreviations) ############################################### ############################################### # 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 $@ $< mymath.o testmymath.o: testmymath.c mymath.h gcc -Wall -ansi -pedantic -c -o $@ $< mymath.o: mymath.c mymath.h gcc -Wall -ansi -pedantic -c -o $@ $<