aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: a53e318949820a388c220297766144f6c0345610 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
CC = cc
OBJS = draw.o main.o
CAIROI = `pkg-config --cflags -libs cairo cairo-pdf`
.PHONY: clean all

CFLAGS = -O2 -g -Wall -Werror -Wextra -Winit-self -Wuninitialized -pedantic

all: output

output: $(OBJS)
	$(CC) $(CAIROI) -o output $(OBJS) 
clean:
	-rm -f $(OBJS) output