From 008020c2405488118b5b9dbc5d42a8429e9c9139 Mon Sep 17 00:00:00 2001 From: Nozomu Hatta Date: Tue, 17 Jul 2018 20:34:28 +0900 Subject: [PATCH] Change Makefiles to success make command. --- Makefile | 2 +- test/Makefile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7bd04c3..453d4fb 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ all: test example .PHONY: lib test install uninstall run test: lib - make -C test all + make -C test lib: make -C lib diff --git a/test/Makefile b/test/Makefile index 253c642..2aa9c4e 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,6 +1,6 @@ CFLAGS += \ - -I. -g -O0 -pthread \ + -I. -I../lib -g -O0 -pthread \ -I/usr/include \ -I/usr/local/include \ -I/usr/local/include/wireshark \ @@ -8,6 +8,7 @@ CFLAGS += \ -I/usr/include/glib-2.0 CXXFLAGS += $(CFLAGS) -std=c++11 LDFLAGS += \ + -L../lib \ -L/usr/local/lib \ -pthread \ -lgthread-2.0 \