BIN=example CC=gcc FLAGS=-Wall HDRS= LIBS= default: strutils example $(CC) $(FLAGS) $(LIBS) strutils.o example.o -o $(BIN) clean: rm -f *.o $(BIN) example: example.c $(CC) $(FLAGS) $(HDRS) -c example.c strutils: strutils.c strutils.h $(CC) $(FLAGS) $(HDRS) -c strutils.c