1
0
mirror of synced 2025-04-21 22:25:55 +03:00
cpp-httplib/example/Makefile
2012-10-02 20:39:13 -04:00

22 lines
373 B
Makefile

USE_CLANG = 1
ifdef USE_CLANG
CC = clang++
CFLAGS = -std=c++0x -stdlib=libc++ -g
else
CC = g++
CFLAGS = -std=c++11 -g
endif
all: server client hello
server : server.cc ../httplib.h
$(CC) -o server $(CFLAGS) -I.. server.cc
client : client.cc ../httplib.h
$(CC) -o client $(CFLAGS) -I.. client.cc
hello : hello.cc ../httplib.h
$(CC) -o hello $(CFLAGS) -I.. hello.cc