############################################### # makefile3 (Abbreviations) ############################################### ############################################### # Build rules for non-file targets ############################################### all: testmystring clobber: clean rm -f *~ \#*\# core clean: rm -f testmystring *.o ############################################### # Build rules for file targets ############################################### testmystring: testmystring.o mystring.o gcc -o $@ $< mystring.o testmystring.o: testmystring.c mystring.h gcc -Wall -ansi -pedantic -c -o $@ $< mystring.o: mystring.c mystring.h gcc -Wall -ansi -pedantic -c -o $@ $<