summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a153d53..3488008 100644
--- a/Makefile
+++ b/Makefile
@@ -142,7 +142,11 @@ OBJS=
include src/Makefile
include doc/Makefile
-INCLUDES= -Isrc -Isrc/sysdeps/$(CONFIG_SYSDEP_DIR)
+ifeq ($(CONFIG_ARCH_HAVE_TEST),y)
+include test/Makefile
+endif
+
+INCLUDES= -I. -Isrc -Isrc/sysdeps/$(CONFIG_SYSDEP_DIR)
ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) -O2 -fPIC -Wall $(INCLUDES) -D_GNU_SOURCE