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