blob: 37f9d46126284a69d24aab5c9d3ef5b820d514e2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
.POSIX:
CC = cc
CFLAGS = -g -fsanitize=address,undefined
TESTS = $(wildcard test_*.c)
all: test
test: FORCE
$(CC) -c tests.c -o tests.o
$(CC) driver.c tests.o ../src/extlib.c ../src/extstring.c ../src/constraint_handler.c ../src/memset_s.c $(CFLAGS) -o test
./test
rm tests.o
FORCE: ; # PHONY is a non standard extension
|