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 \