diff options
author | Uros Majstorovic <majstor@majstor.org> | 2022-02-02 06:52:04 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2022-02-02 06:52:04 +0100 |
commit | 59e190202e57ab151fe8a23a2ca14615c1e8c4d9 (patch) | |
tree | 0e39cf7a63e266e2fd1d0e7667fadc5e6d6b82c0 /ecp/src | |
parent | 64b55e7e1236121ea4197d9a37cfec43b196cfe8 (diff) |
fixed build
Diffstat (limited to 'ecp/src')
-rw-r--r-- | ecp/src/ecp/Makefile | 2 | ||||
-rw-r--r-- | ecp/src/ecp/common.mk | 7 | ||||
-rw-r--r-- | ecp/src/ecp/crypto/Makefile | 2 | ||||
-rw-r--r-- | ecp/src/platform/common.mk | 4 |
4 files changed, 7 insertions, 8 deletions
diff --git a/ecp/src/ecp/Makefile b/ecp/src/ecp/Makefile index 5fed12a..4590dd3 100644 --- a/ecp/src/ecp/Makefile +++ b/ecp/src/ecp/Makefile @@ -2,7 +2,7 @@ include common.mk obj = core.o timer.o dir.o dir_srv.o subdirs = crypto $(platform_dir) -build_dir = ../build-$(platform) +build_dir = ../../build-$(platform) include $(platform_dir)/platform_obj.mk diff --git a/ecp/src/ecp/common.mk b/ecp/src/ecp/common.mk index a2f8663..4c511f8 100644 --- a/ecp/src/ecp/common.mk +++ b/ecp/src/ecp/common.mk @@ -1,9 +1,8 @@ platform ?= posix pwd := $(abspath $(dir $(firstword $(MAKEFILE_LIST)))) -ecp_dir := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))/..) -src_dir := $(abspath $(ecp_dir)/src) -platform_dir = $(abspath $(ecp_dir)/platform/$(platform)) +src_dir := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))/..) +platform_dir = $(abspath $(src_dir)/platform/$(platform)) include $(platform_dir)/platform.mk -CFLAGS += -I$(src_dir) -I$(platform_dir) +CFLAGS += -I$(src_dir)/ecp -I$(platform_dir) diff --git a/ecp/src/ecp/crypto/Makefile b/ecp/src/ecp/crypto/Makefile index b1d2996..3a50965 100644 --- a/ecp/src/ecp/crypto/Makefile +++ b/ecp/src/ecp/crypto/Makefile @@ -1,5 +1,5 @@ include ../common.mk -ssl_dir = ../../../ext/libressl +ssl_dir = ../../../../ext/libressl CFLAGS += -I$(ssl_dir)/include MAKEFLAGS += -I$(pwd)/.. diff --git a/ecp/src/platform/common.mk b/ecp/src/platform/common.mk index d49792b..18d130d 100644 --- a/ecp/src/platform/common.mk +++ b/ecp/src/platform/common.mk @@ -1,3 +1,3 @@ platform ?= posix -src_dir := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))../src) -include $(src_dir)/common.mk +src_dir := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))/..) +include $(src_dir)/ecp/common.mk |