Add static Http server example, fix wildcards

This commit is contained in:
Alex Hultman
2018-09-17 02:52:10 +02:00
parent 96d1c311ce
commit 7a67f57be0
6 changed files with 139 additions and 5 deletions
+6
View File
@@ -1,4 +1,10 @@
default:
rm *.o
clang -flto -O3 -c -IuSockets/src uSockets/src/*.c uSockets/src/eventing/*.c
clang++ -flto -O3 -c -std=c++17 -Isrc -IuSockets/src examples/static_http_server.cpp
clang++ -flto -O3 -s *.o -o static_http_server -lssl -lcrypto -lpthread -lstdc++fs
main:
rm *.o
clang -flto -O3 -c -IuSockets/src uSockets/src/*.c uSockets/src/eventing/*.c
clang++ -flto -O3 -c -std=c++17 -Isrc -IuSockets/src main.cpp