repositories
/
advent21.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
day 12 part two wrong, day 13 done
[advent21.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
dfdd641
..
e656642
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,7
+1,7
@@
CFLAGS:=-Wall -Wextra -O3
LFLAGS:=-f
CFLAGS:=-Wall -Wextra -O3
LFLAGS:=-f
-BINARIES:=$(foreach num,$(shell seq -f '%02.0f' 1
5
),$(num)a $(num)b)
+BINARIES:=$(foreach num,$(shell seq -f '%02.0f' 1
11
),$(num)a $(num)b)
all: $(BINARIES)
all: $(BINARIES)
@@
-9,6
+9,7
@@
clean:
$(RM) *.o a.out $(BINARIES)
05%: CFLAGS+=-DHASH_BLOOM
$(RM) *.o a.out $(BINARIES)
05%: CFLAGS+=-DHASH_BLOOM
+06b: LDLIBS+=-lgmp
run: $(addprefix run_,$(BINARIES))
run: $(addprefix run_,$(BINARIES))