summaryrefslogtreecommitdiff
path: root/ecp/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ecp/test/Makefile')
-rw-r--r--ecp/test/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/ecp/test/Makefile b/ecp/test/Makefile
index 29fc020..5aeb57a 100644
--- a/ecp/test/Makefile
+++ b/ecp/test/Makefile
@@ -1,7 +1,8 @@
-include ../platform/posix.mk
-CFLAGS += -I../src -I../util -Wno-int-to-void-pointer-cast
+src_dir = ../src
+include $(src_dir)/common.mk
+CFLAGS += -I../util -Wno-int-to-void-pointer-cast
-dep=../src/build-posix/*.a ../util/libecputil.a
+dep=../build-posix/*.a ../util/libecputil.a
%.o: %.c
$(CC) $(CFLAGS) -c $<