From: Jérémie Astor Date: Fri, 13 May 2022 18:49:29 +0000 (+0200) Subject: :wrench: Fix Makefile for CMD X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=63e807d3b83d771749304fff3c40df13a39b9e51;p=gwion.git :wrench: Fix Makefile for CMD --- diff --git a/Makefile b/Makefile index cc45a093..7110f455 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ GWION_PACKAGE=gwion -ifeq (,$(wildcard util/config.mk.orig)) +ifeq (,$(wildcard util/Makefile)) $(warning "missing git submodules, please run:") $(error "git submodules update --init --recursive") endif @@ -69,10 +69,7 @@ CFLAGS += -Wno-pedantic CFLAGS += -DGWION_BUILTIN -all: deps options-show ${PRG} - -deps: - [ "$(shell ls util | wc -l)" = "0" ] && git submodule update --init --recursive || true +all: options-show ${PRG} ${PRG}: ${GWLIBS} src/main.o @$(info link ${PRG})