Start implementing tests

This commit is contained in:
2021-06-05 14:07:11 +02:00
vanhempi 0b13f551f4
commit 85c01899a9
3 muutettua tiedostoa jossa 175 lisäystä ja 0 poistoa

17
Makefile Normal file
Näytä tiedosto

@@ -0,0 +1,17 @@
prefix = /usr/local
bindir = $(prefix)/bin
CFLAGS = -std=c99 -Wall -Wextra -pedantic
.DEFAULT_GOAL := test
clean:
rm -f test
test: test.c
$(CC) test.c -g $(CFLAGS) -o test
check: test
./test.sh
.PHONY: check