From 63e807d3b83d771749304fff3c40df13a39b9e51 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Fri, 13 May 2022 20:49:29 +0200 Subject: [PATCH] :wrench: Fix Makefile for CMD --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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}) -- 2.43.0