TARGET = program01 CC = gcc RM = rm CFLAGS = -Wall -g LDFLAGS = SOURCES = program01.c OBJECTS = program01.o HEADERS = program01.h ${TARGET} : ${OBJECTS} ${CC} ${LDFLAGS} -o ${TARGET} ${OBJECTS} ${OBJECTS}.o : ${SOURCES} ${HEADERS} ${CC} ${CFLAGS} -c ${SOURCES} clean : ${RM} ${OBJECTS} ${TARGET}