From 682c9588dc3d281cfdca22f0d6470c9f21e4ccad Mon Sep 17 00:00:00 2001
From: Uros Majstorovic <majstor@majstor.org>
Date: Wed, 26 Feb 2020 16:16:03 +0100
Subject: fixed build system

---
 code/ecp/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'code/ecp/Makefile')

diff --git a/code/ecp/Makefile b/code/ecp/Makefile
index 972f8d7..9456a4b 100644
--- a/code/ecp/Makefile
+++ b/code/ecp/Makefile
@@ -13,7 +13,7 @@ subdirs = crypto platform $(htable) $(vconn)
 all: $(obj)
 	$(AR) rcs libecpcore.a $(obj)
 	for i in $(subdirs); do \
-		(cd $$i && $(MAKE) && cd ..) || exit; \
+		(cd $$i && $(MAKE)) || exit; \
 	done
 
 install: all
@@ -31,6 +31,6 @@ install: all
 
 clean:
 	for i in $(subdirs); do \
-		(cd $$i && $(MAKE) clean && cd ..) || exit; \
+		(cd $$i && $(MAKE) clean) || exit; \
 	done
 	rm -f *.o *.a
\ No newline at end of file
-- 
cgit v1.2.3