summaryrefslogtreecommitdiff
path: root/ecp/test
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-01-31 22:22:19 +0100
committerUros Majstorovic <majstor@majstor.org>2022-01-31 22:22:19 +0100
commit76be7c9a79da62e0a52d932bdfdf56671c82e33d (patch)
tree6385d50acb932766a11ded22901f1b333eb9856d /ecp/test
parent6594778ab99958c3efb7325e4203bb4e593fc1a6 (diff)
build fix
Diffstat (limited to 'ecp/test')
-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 $<