Compare commits

..

2 commits

View file

@ -1,6 +1,8 @@
BIND := out
BIN := $(BIND)/aoc
.PHONY: all run debug clean
all: $(BIND) $(BIN)
run: all
@ -9,11 +11,11 @@ run: all
debug: all
gdb $(BIN)
clean:
rm -f -- $(wildcard $(BIND)/*)
$(BIND):
mkdir -p -- $@
$(BIN): $(wildcard src/*.c)
cc -g -Wall -Wextra -Werror -o $@ $^
clean:
rm -f -- $(wildcard $(BIND)/*)