1
0
mirror of synced 2025-07-27 23:41:48 +03:00

Added httpsvrkit.h and sample.

This commit is contained in:
yhirose
2012-09-23 00:40:46 -04:00
parent c568deaba1
commit dfe95a669d
3 changed files with 330 additions and 0 deletions

17
example/Makefile Normal file
View File

@ -0,0 +1,17 @@
USE_CLANG = 1
ifdef USE_CLANG
CC = clang++
CFLAGS = -std=c++0x -stdlib=libc++
else
CC = g++
CFLAGS = -std=c++11
endif
sample : sample.cc ../httpsvrkit.h
$(CC) -o sample $(CFLAGS) -I.. sample.cc
.PHONY : test
test: sample
./sample