From e2283f6c7f5abc60dc7ba7ea59deee94da714da7 Mon Sep 17 00:00:00 2001 From: lemon Date: Sat, 8 Oct 2022 11:08:42 +0200 Subject: initial commit --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1cc019b --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +CFLAGS = -Wall + +all: debug + +debug: CFLAGS += -g +debug: pez + +san: CFLAGS += -g -fsanitize=address -fsanitize=undefined +san: pez + +opt: CFLAGS += -Oz +opt: pez + +pez: repl.c pez.c pez.h + $(CC) -o$@ -lreadline $(CFLAGS) repl.c pez.c + +clean: + $(RM) pez + +.PHONY: clean -- cgit v1.2.3