CC=gcc CFLAGS= -pg TEST_CFLAGS=-Wall --pedantic -O1 -Wuninitialized SRC=heat.c PROGRAM=heat EXECUTABLES=$(PROGRAM) test $(PROGRAM): $(SRC) $(CC) $(CFLAGS) -o $(PROGRAM) $(SRC) test: $(SRC) $(CC) $(CFLAGS) $(TEST_CFLAGS) -o test $(SRC) all: make $(EXECUTABLES) clean: rm -f $(EXECUTABLES)