From 558eac0f74509eb281fc3700d26c38d351314dea Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Thu, 3 Feb 2022 23:14:21 +0100 Subject: [PATCH] Minor makefile touch up --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index b9bab94..ba0dcbe 100644 --- a/Makefile +++ b/Makefile @@ -6,11 +6,13 @@ help: @grep "^\.PHONY: " Makefile | cut -d" " -f2- | sed -e "s/ /\n/g" | grep -v "^_" .PHONY: run run-with-music -run: build/glowbox +run: build cd build && ./glowbox -run-with-music: build/glowbox +run-with-music: build cd build && ./glowbox --enable-music +.PHONY: build +build: build/glowbox build/glowbox: ${SOURCES} | build/Makefile has-make make -C build @@ -19,7 +21,7 @@ build/Makefile: | build/ _submodules has-cmake .PHONY: _submodules _submodules: | has-git - git submodule update --init + @git submodule update --init .PHONY: clean clean: @@ -29,7 +31,7 @@ clean: # === helpers: === -# make folders +# make folders, use as order-only prerequisite %/: mkdir -p $*