aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: ef089738169c1af8370435beed61dfa804a2a3f4 (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.h

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