cpp-peglib/test/Makefile

17 lines
219 B
Makefile
Raw Normal View History

2015-02-08 01:52:26 +00:00
2015-02-09 22:12:59 +00:00
USE_CLANG = 1
ifdef USE_CLANG
2015-02-08 01:52:26 +00:00
CC = clang++
2015-02-09 22:12:59 +00:00
CCFLAGS = -std=c++1y -stdlib=libc++ -g
else
CC = g++
CCFLAGS = -std=c++1y -g
endif
2015-02-08 01:52:26 +00:00
all : test
./test
test : test.cc ../peglib.h
$(CC) -o test $(CCFLAGS) -I.. -I. test.cc