Remove build directory nesting 89/115389/1
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Tue, 11 Aug 2020 13:52:17 +0000 (15:52 +0200)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Wed, 25 Nov 2020 14:55:49 +0000 (15:55 +0100)
This patch also removes unnecessary directory creation. Command:
'go build -o "${BINARIES}"' creates required file tree on its own.

Issue-ID: SECCOM-261
Change-Id: I6b492a2d5f61ce6e139bfe718256357c9d343a6b
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
test/security/sslendpoints/Makefile

index a213e1a..e853dc4 100644 (file)
@@ -8,9 +8,8 @@ BINARIES := $(addprefix ${BUILD_DIR}/, ${BINARIES})
 all: docker-build
 
 .PHONY: build
-build:
-       mkdir -p "${BUILD_DIR}"
-       go build -o "${BUILD_DIR}/${BINARIES}"
+build: ${BUILD_DIR}
+       go build -o "${BINARIES}"
 
 .PHONY: clean
 clean: clean-docker-build clean-build