summaryrefslogtreecommitdiff
path: root/Makefile
blob: b15cafb2d8b7e2e10b87cdf4c3443f135d10e66d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
BUILD := debug

cflags.debug := -Wall -o0 -g -DDEBUG=1
cflags.release := -os -s
CFLAGS := ${cflags.${BUILD}}

LIBS := -lcups

test: main
	./main

main: clean

clean:
	rm -f ./main

%:
	$(CC) $(CFLAGS) -o $@ *.c $(LIBS)

..