1 2 3 4 5 6 7 8 9
CFLAGS = -Wall -Os CFILES = $(wildcard *.c) OFILES = $(CFILES:%.c=%.o) GOAL = serial_probe $(GOAL): $(OFILES) clean: rm -f $(GOAL) $(OFILES) *~