# tutorial exercises from http://www.unknownroad.com/rtfm/gdbtut/ ALL_BIN := $(patsubst %.c,$(BINDIR)/%,$(wildcard *.c)) $(BINDIR)/%: %.c $(CC) $(CFLAGS) -o $@ $< all: $(ALL_BIN) .PHONY: all