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
6749bac
..
e656642
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,13
+1,16
@@
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)
clean:
$(RM) *.o a.out $(BINARIES)
all: $(BINARIES)
clean:
$(RM) *.o a.out $(BINARIES)
+05%: CFLAGS+=-DHASH_BLOOM
+06b: LDLIBS+=-lgmp
+
run: $(addprefix run_,$(BINARIES))
run_%a: %a
run: $(addprefix run_,$(BINARIES))
run_%a: %a