1 2 3 4 5 6
CFILES = $(shell find src/ -name "*.c") CC = gcc bin/ldo: $(CFILES) mkdir -p $(@D) $(CC) $^ -o $@ -I src/include/