isinetaddr/Makefile

14 lines
265 B
Makefile
Raw Normal View History

2023-08-25 20:57:09 +02:00
SRCDIR = src
INCDIR = include
TESTDIR = test
TESTBIN = $(TESTDIR)/runner
CC = cc
2023-08-26 01:29:47 +02:00
CFLAGS = -fstack-protector-all -I$(INCDIR) -Wall -Wextra -pedantic
2023-08-25 20:57:09 +02:00
test:
$(CC) $(CFLAGS) $(SRCDIR)/isinetaddr.c $(TESTDIR)/isinetaddr_test.c -o $(TESTBIN)
$(TESTBIN)
.PHONY: test