# Makefile for building gpc library
# gpc is avaliable at https://github.com/rickbrew/GeneralPolygonClipper

CC= gcc -std=c99
CFLAGS= -pedantic -Wall -Wextra -O2 $(PIC) -Dfscanf_s=fscanf
L= gpc.o

all:	$L

gpc.o:	gpc.c gpc.h
	$(CC) $(CFLAGS) -c gpc.c

clean:
	-rm -f *.o *.a $T
