More convenient makefile

This commit is contained in:
Roberto Alsina 2023-07-12 16:40:15 -03:00
parent 5f376b0b35
commit 5110de2042

View File

@ -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