/* ECP: FILEname=fig13_34.make */ # Makefile for following situation: # tester.c and sub.c both include tester.h # The source files may also use stuff from # our library tester: tester.o sub.o gcc -o tester tester.o sub.o $(HOME)/lib/my_lib.a tester.o: tester.c tester.h gcc -O -I$(HOME)/include -c tester.c sub.o: sub.c tester.h gcc -O -I$(HOME)/include -c sub.c