blob: 84290df593b5b640bd8c54770ab16a170f83f7b7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig:$HOME/code/dev/prefix/lib/pkgconfig:$HOME/opt/lib/pkgconfig
CFLAGS= `pkg-config --cflags libmicrohttpd`
LDFLAGS= `pkg-config --libs libmicrohttpd` -Wl,-R/usr/local/lib -Wl,-R/home/ng0/opt/lib -Wl,-R/home/ng0/dev/prefix/lib
all: inc trg response_generation_sendfile
inc:
mkdir build || true
clang $(CFLAGS) inc.c $(LDFLAGS) -o build/inc
trg:
mkdir build || true
clang $(CFLAGS) trg.c $(LDFLAGS) -o build/trg
response_generation_sendfile:
mkdir build || true
clang $(CFLAGS) response_generation_sendfile.c $(LDFLAGS) -o build/response_generation_sendfile
clean:
rm -rf build
|