More convenient makefile
This commit is contained in:
parent
5f376b0b35
commit
5110de2042
3
Makefile
3
Makefile
@ -8,6 +8,9 @@ shortcodes: shortcodes.c
|
|||||||
$(CC) shortcodes.c -lbg -g -o shortcodes
|
$(CC) shortcodes.c -lbg -g -o shortcodes
|
||||||
tests: shortcodes.c shortcodes.h tests.c
|
tests: shortcodes.c shortcodes.h tests.c
|
||||||
$(CC) tests.c shortcodes.c -lbg -lcgreen -g -o tests
|
$(CC) tests.c shortcodes.c -lbg -lcgreen -g -o tests
|
||||||
|
test: tests
|
||||||
./tests
|
./tests
|
||||||
clean:
|
clean:
|
||||||
rm -f shortcodes shortcodes.c
|
rm -f shortcodes shortcodes.c
|
||||||
|
|
||||||
|
.PHONY: test run
|
||||||
|
Loading…
Reference in New Issue
Block a user