Add `generate` as the prerequisite for make build 72/11672/1
authorTaewan Kim <t25.kim@samsung.com>
Mon, 28 Aug 2023 07:21:51 +0000 (16:21 +0900)
committerTaewan Kim <t25.kim@samsung.com>
Mon, 28 Aug 2023 07:21:51 +0000 (16:21 +0900)
Change-Id: Idfbc782fddaafc8dd0ee7c4b9b946bd4869e3644
Signed-off-by: Taewan Kim <t25.kim@samsung.com>
Makefile

index e5ed63d..7c05b0c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@
 #   limitations under the License.
 #
 
-build:
+build: generate
        go build -o ricdms cmd/ric-dms.go
 
 generate:
@@ -32,4 +32,4 @@ image:
 docker-run:
        docker run -it --rm -d -p 8000:8000 ric-dms:v1.0
 
-all: generate build test image
\ No newline at end of file
+all: generate build test image