Compare commits
No commits in common. "c8be7733d000f0e7718d45dfb3a84f42100075ef" and "31dcab585339a70a62ee0e1934fb12811d065c8e" have entirely different histories.
c8be7733d0
...
31dcab5853
1 changed files with 3 additions and 5 deletions
8
Makefile
8
Makefile
|
@ -1,8 +1,6 @@
|
||||||
BIND := out
|
BIND := out
|
||||||
BIN := $(BIND)/aoc
|
BIN := $(BIND)/aoc
|
||||||
|
|
||||||
.PHONY: all run debug clean
|
|
||||||
|
|
||||||
all: $(BIND) $(BIN)
|
all: $(BIND) $(BIN)
|
||||||
|
|
||||||
run: all
|
run: all
|
||||||
|
@ -11,11 +9,11 @@ run: all
|
||||||
debug: all
|
debug: all
|
||||||
gdb $(BIN)
|
gdb $(BIN)
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f -- $(wildcard $(BIND)/*)
|
|
||||||
|
|
||||||
$(BIND):
|
$(BIND):
|
||||||
mkdir -p -- $@
|
mkdir -p -- $@
|
||||||
|
|
||||||
$(BIN): $(wildcard src/*.c)
|
$(BIN): $(wildcard src/*.c)
|
||||||
cc -g -Wall -Wextra -Werror -o $@ $^
|
cc -g -Wall -Wextra -Werror -o $@ $^
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f -- $(wildcard $(BIND)/*)
|
||||||
|
|
Reference in a new issue