-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
24 lines (15 loc) · 837 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CXXFLAGS:=-std=gnu++17 -Wall -O2 -MMD -MP -ggdb -Iext/ -pthread -I/usr/local/include/ -Wno-reorder -Iext/simplesocket
CFLAGS:= -Wall -O2 -MMD -MP -ggdb
PROGRAMS = powerblog h2o-simple h2o-real h2o-stream
all: $(PROGRAMS)
clean:
rm -f *~ *.o *.d test $(PROGRAMS)
-include *.d
powerblog: powerblog.o h2o-pp.o ext/simplesocket/comboaddress.o
g++ -std=gnu++17 $^ -o $@ -pthread -lh2o-evloop -lsqlite3 -lssl -lcrypto -lz
h2o-simple: h2o-simple.o h2o-pp.o ext/simplesocket/comboaddress.o
g++ -std=gnu++17 $^ -o $@ -pthread -lh2o-evloop -lssl -lcrypto -lz
h2o-real: h2o-real.o h2o-pp.o ext/simplesocket/comboaddress.o
g++ -std=gnu++17 $^ -o $@ -pthread -lh2o-evloop -lssl -lcrypto -lz
h2o-stream: h2o-stream.o h2o-pp.o ext/simplesocket/comboaddress.o
g++ -std=gnu++17 $^ -o $@ -pthread -lh2o-evloop -lsqlite3 -lssl -lcrypto -lz