X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=Makefile;h=e65664202576a40becbc3bd0a64bf5849dab1292;hb=967152a3319e0207e16901ecc0344edaf8c8193e;hp=9b65f6b9f33586d4816b5a8381fc9e97040fa37c;hpb=7db946f06f30966f03ebcfcbf8d2abba13316f30;p=advent21.git diff --git a/Makefile b/Makefile index 9b65f6b..e656642 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,16 @@ CFLAGS:=-Wall -Wextra -O3 LFLAGS:=-f -BINARIES:=$(foreach num,$(shell seq -f '%02.0f' 1 3),$(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) +05%: CFLAGS+=-DHASH_BLOOM +06b: LDLIBS+=-lgmp + run: $(addprefix run_,$(BINARIES)) run_%a: %a