isinetaddr/Makefile
2023-08-25 15:57:09 -03:00

13 lines
243 B
Makefile

SRCDIR = src
INCDIR = include
TESTDIR = test
TESTBIN = $(TESTDIR)/runner
CC = cc
CFLAGS = -I$(INCDIR) -Wall -Wextra -pedantic
test:
$(CC) $(CFLAGS) $(SRCDIR)/isinetaddr.c $(TESTDIR)/isinetaddr_test.c -o $(TESTBIN)
$(TESTBIN)
.PHONY: test