diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | lib/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -112,7 +112,7 @@ endif NET_LIB = $(NET_LIB_PATH)/lib$(NET_LIB_NAME).a -CPPFLAGS += -I. -idirafter ./include/ -I$(NET_LIB_PATH) +CPPFLAGS += -I. -I$(TOPDIR)/include -I$(NET_LIB_PATH) LDFLAGS += -L$(NET_LIB_PATH) SUBDIRS = man/ $(NET_LIB_PATH)/ diff --git a/lib/Makefile b/lib/Makefile index 976ebb8..431f258 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -36,7 +36,7 @@ OBJS = $(sort $(VARIA) $(AFOBJS) $(HWOBJS) \ # This can be overwritten by the TOPLEVEL Makefile TOPDIR=.. -CFLAGS += -I$(TOPDIR) -idirafter $(TOPDIR)/include # -fPIC +CFLAGS += -I$(TOPDIR) -I$(TOPDIR)/include # -fPIC SONAME=libnet-tools.so.0 .SUFFIXES: .a .so |