CFLAGS = -pedantic LIBS = -lsocket -lnsl CC = gcc all:: nfsapi.o Instrument # Dependencies. The executable depends on the .o, the .o on the .cpp. Instrument: instrument.o nfsapi.o $(CC) -o Instrument instrument.o nfsapi.o $(CFLAGS) $(LIBS) instrument.o: instrument.c $(CC) -c instrument.c $(CFLAGS) nfsapi: nfsapi.o nfsapi.o: nfsapi.c $(CC) -c nfsapi.c $(CFLAGS) clean: rm *.o Tester