mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-23 04:15:31 +00:00
16 lines
218 B
Makefile
16 lines
218 B
Makefile
|
|
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
|
|
$(CC) -o peglint $(CFLAGS) -I.. peglint.cc
|