aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 863d93068636fc678751a03eecb56516f1edb8d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SRCS = $(wildcard test/*.c)
TESTS = $(SRCS:.c=)

.PHONY: all

all: tests

tests: $(TESTS)

%: %.c
	$(CC) -I. $< -o $@ -ggdb -std=c99 -pedantic -Wall -Wextra $(CFLAGS)

clean:
	rm -rf $(TESTS)