aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 67861a067ce3a714dd099d1c2d46e8cb2359ac50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CC = cc
DIR = src
OBJS = $(DIR)/draw.o $(DIR)/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