aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/api_test/Makefile2
-rw-r--r--test/example/Makefile5
-rw-r--r--test/packet/Makefile2
-rw-r--r--test/packet_netmap/Makefile1
4 files changed, 1 insertions, 9 deletions
diff --git a/test/api_test/Makefile b/test/api_test/Makefile
index 1748c45be..ea3dbc4a5 100644
--- a/test/api_test/Makefile
+++ b/test/api_test/Makefile
@@ -12,8 +12,6 @@ ODP_ATOMIC = odp_atomic
ODP_SHM = odp_shm
ODP_RING = odp_ring
-EXTRA_CFLAGS += -I$(ODP_ROOT)/platform/linux-generic/include
-
include $(ODP_ROOT)/Makefile.inc
include ../Makefile.inc
diff --git a/test/example/Makefile b/test/example/Makefile
index 1774b83a3..2dc148a5e 100644
--- a/test/example/Makefile
+++ b/test/example/Makefile
@@ -12,9 +12,6 @@ include ../Makefile.inc
.PHONY: default
default: $(OBJ_DIR) $(ODP_APP)
-
-CFLAGS += -I.
-
OBJS =
OBJS += $(OBJ_DIR)/odp_example.o
@@ -35,7 +32,7 @@ $(OBJ_DIR)/%.o: %.c
#
$(ODP_APP): $(ODP_LIB) $(OBJS)
$(ECHO) Linking $<
- $(CC) $(LDFLAGS) $(OBJS) $(ODP_LIB) -o $@
+ $(CC) $(LDFLAGS) $(OBJS) $(ODP_LIB) $(STD_LIBS) -o $@
.PHONY: clean
clean:
diff --git a/test/packet/Makefile b/test/packet/Makefile
index 87227aed5..b4c0e5bc4 100644
--- a/test/packet/Makefile
+++ b/test/packet/Makefile
@@ -6,8 +6,6 @@
ODP_ROOT = ../..
ODP_APP = odp_packet
-EXTRA_CFLAGS += -I.
-
include $(ODP_ROOT)/Makefile.inc
include ../Makefile.inc
diff --git a/test/packet_netmap/Makefile b/test/packet_netmap/Makefile
index 4cbf07151..d1bf807ae 100644
--- a/test/packet_netmap/Makefile
+++ b/test/packet_netmap/Makefile
@@ -6,7 +6,6 @@
ODP_ROOT = ../..
ODP_APP = odp_packet
-EXTRA_CFLAGS += -I.
EXTRA_CFLAGS += -DODP_HAVE_NETMAP
include $(ODP_ROOT)/Makefile.inc