infidel_poly/Makefile

19 lines
230 B
Makefile
Raw Permalink Normal View History

2022-04-16 04:38:03 -04:00
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)/*