commit 5e236cdcbb7ab0a9cb8ee9206ba4bdbc69bae3a1 parent bc35522f9917639b1903212aa54aca6a2f580cff Author: William Casarin <jb55@jb55.com> Date: Wed, 19 Jul 2023 23:20:00 -0700 makefile: add clean and optimize Diffstat:
M | Makefile | | | 7 | +++++-- |
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile @@ -1,9 +1,12 @@ -CFLAGS = -Wall +CFLAGS = -Wall -Werror -O3 check: test ./test +clean: + rm test + tags: ctags *.c *.h @@ -13,4 +16,4 @@ test: test.c nostrdb.c nostrdb.h %.o: %.c $(CC) $(CFLAGS) -.PHONY: tags +.PHONY: tags clean