X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=Makefile;h=c1bccfeec2e1f53e87f3fbfe930ec26bcc96cc26;hb=b66bca1e31050058cb9fd9124b635408b3453144;hp=6749bac2a20dea6b6ac35145bc5f419025abf9a0;hpb=e6e0aa417e54599d37bb43f456085e9a1dab4f1b;p=advent21.git diff --git a/Makefile b/Makefile index 6749bac..c1bccfe 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,16 @@ 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 9),$(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