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

Changed to use c++11 features.

This commit is contained in:
yhirose
2013-04-24 06:09:19 -04:00
parent e7e8f5e70e
commit a1ef364247
3 changed files with 24 additions and 89 deletions

View File

@ -3,14 +3,14 @@ USE_CLANG = 1
ifdef USE_CLANG
CC = clang++
CFLAGS = -std=c++0x -stdlib=libc++ -g -DGTEST_USE_OWN_TR1_TUPLE
CCFLAGS = -std=c++0x -stdlib=libc++ -g -DGTEST_USE_OWN_TR1_TUPLE
else
CC = g++
CFLAGS = -std=c++11 -g
CC = g++-4.7
CCFLAGS = -std=c++11 -g
endif
all : test
./test
test : test.cc ../httplib.h
$(CC) -o test $(CFLAGS) -I.. -I. test.cc gtest/gtest-all.cc gtest/gtest_main.cc
$(CC) -o test $(CCFLAGS) -I.. -I. test.cc gtest/gtest-all.cc gtest/gtest_main.cc