2013-09-19 20:57:40 +01:00
|
|
|
CC = gcc
|
2013-09-30 20:55:57 +01:00
|
|
|
CFLAGS = -ansi -Wall -Wpedantic -Werror -Wno-unused -g
|
2013-09-19 20:57:40 +01:00
|
|
|
|
|
|
|
TESTS = $(wildcard tests/*.c)
|
|
|
|
|
|
|
|
all: check
|
|
|
|
|
|
|
|
check: $(TESTS) mpc.c
|
|
|
|
$(CC) $(CFLAGS) $^ -o test
|
|
|
|
./test
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm test.exe
|