aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: b1b7bb19a789a875e8c64a7c99653427daf548a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CFLAGS += -Weverything -std=c11 -g
CC = clang

SOURCES = src/twbctf.c src/sds.c
HEADERS = src/twbctf.h src/sds.c

all: sds-test

sds-test: $(SOURCES) $(HEADERS) src/test.c
	$(CC) $(CFLAGS) -o $@ $(SOURCES)
	@echo ">>> Type ./sds-test to run the sds.c unit tests."

clean:
	rm -f sds-test