From f6554ffa53bb3247d184afc3c89b077c19c5cc5c Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 18 Oct 2022 07:27:49 -0700 Subject: New project: JP-Hash --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fd99a3e --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +CFLAGS ?= -Wall -W -Wextra -g # -O2 +.PHONY: all +all: jp-hash jp-hash.tlo +jp-hash: LDLIBS += -lcrypto +jp-hash: jp-hash.o +jp-hash.o: CFLAGS += -DJP_HASH_IMPL=1 -DJP_HASH_MAIN=1 +jp-hash.o: jp-hash.c +jp-hash.tlo: jp-hash.tl; txr --compile=$^:$@ +.PHONY: clean +clean:; rm -f jp-hash jp-hash.o jp-hash.tlo -- cgit v1.2.3