13 lines
176 B
Makefile
13 lines
176 B
Makefile
# puzzles from http://www.gowrikumar.com/c/
|
|
|
|
ALL_BIN := $(patsubst %.c,$(BINDIR)/%,$(wildcard *.c))
|
|
|
|
|
|
$(BINDIR)/%: %.c
|
|
$(CC) $(CFLAGS) -o $@ $<
|
|
|
|
all: $(ALL_BIN)
|
|
|
|
|
|
.PHONY: all
|