summaryrefslogtreecommitdiff
path: root/Makefile
blob: b352ab3cc81c839796905f99ed764e2026d55d11 (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 $@ cgi.c main.c $(LIBS)

..