Start implementing tests

This commit is contained in:
2021-06-05 14:07:11 +02:00
parent 0b13f551f4
commit 85c01899a9
3 changed files with 175 additions and 0 deletions

17
Makefile Normal file
View File

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