Fixed the build error with peglint.

This commit is contained in:
yhirose 2015-11-29 10:23:46 -05:00
parent 795c84e007
commit 59c7ab94ac
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0)
include_directories(.)
add_definitions("-std=c++1y")
add_executable(peglint lint/peglint.cc)
add_executable(peglint lint/peglint.cc lint/server.cc)
target_link_libraries(peglint pthread)
add_executable(test-main test/test.cc)

View File

@ -11,5 +11,5 @@ endif
all: peglint
peglint : peglint.cc ../peglib.h
$(CC) -o peglint $(CFLAGS) -I.. peglint.cc
peglint : peglint.cc server.cc ../peglib.h
$(CC) -o peglint $(CFLAGS) -I.. peglint.cc server.cc