From 5110de20422a811c50b0cede588637dda62b36fa Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Wed, 12 Jul 2023 16:40:15 -0300 Subject: [PATCH] More convenient makefile --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 070a97c..2c007a9 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,9 @@ shortcodes: shortcodes.c $(CC) shortcodes.c -lbg -g -o shortcodes tests: shortcodes.c shortcodes.h tests.c $(CC) tests.c shortcodes.c -lbg -lcgreen -g -o tests +test: tests ./tests clean: rm -f shortcodes shortcodes.c + +.PHONY: test run