From 59c7ab94ac5c2fbe1b2d20fdcc3d9f63738c51ae Mon Sep 17 00:00:00 2001 From: yhirose Date: Sun, 29 Nov 2015 10:23:46 -0500 Subject: [PATCH] Fixed the build error with peglint. --- CMakeLists.txt | 2 +- lint/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0828168..4d0ae5a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/lint/Makefile b/lint/Makefile index 89c058b..9e63b0c 100644 --- a/lint/Makefile +++ b/lint/Makefile @@ -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