2015-02-13 00:54:43 +00:00
|
|
|
|
|
|
|
USE_CLANG = 1
|
|
|
|
|
|
|
|
ifdef USE_CLANG
|
|
|
|
CC = clang++
|
|
|
|
CFLAGS = -std=c++1y -stdlib=libc++ -g
|
|
|
|
else
|
|
|
|
CC = g++
|
|
|
|
CFLAGS = -std=c++1y -g
|
|
|
|
endif
|
|
|
|
|
|
|
|
all: peglint
|
|
|
|
|
|
|
|
peglint : peglint.cc ../peglib.h
|
2015-08-05 14:28:07 +00:00
|
|
|
$(CC) -o peglint $(CFLAGS) -I../.. peglint.cc
|