infidel_poly/Makefile
2022-04-16 15:38:03 +07:00

19 lines
230 B
Makefile

CC?=gcc
AS=$(CC) -c
AR?=ar
CFLAGS?=-g
CFLAGS+=-Wall -Wextra
SRCDIR=src
TESTDIR=tests
BINDIR=bin
test_codes = tests/test.c tests/test_util.c
bin/test:
$(CC) $(CFLAGS) -I$(SRCDIR) $(test_codes) -o $@
clean:
rm -f $(BINDIR)/*