From 162ae478fe9e85e1c8aaf163fe0e0739fba94389 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Tue, 26 Jun 2018 02:34:05 -0400 Subject: [PATCH] Prefix comments in Makefile targets with @ to disable printing --- Makefile | 12 ++++++------ compile.mk | 2 +- dep/Makefile | 4 ++-- plugin.mk | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 95b6b94b..234dfeca 100644 --- a/Makefile +++ b/Makefile @@ -92,7 +92,7 @@ dist: all rm -rf dist mkdir -p dist - # Rack + @# Rack $(MAKE) -C plugins/Fundamental dist ifdef ARCH_MAC @@ -111,7 +111,7 @@ ifdef ARCH_MAC cp plugins/Fundamental/dist/Fundamental-*.zip $(BUNDLE)/Contents/Resources/Fundamental.zip cp -R Bridge/AU/dist/VCV-Bridge.component dist/ cp -R Bridge/VST/dist/VCV-Bridge.vst dist/ - # Make DMG image + @# Make DMG image cd dist && ln -s /Applications Applications cd dist && ln -s /Library/Audio/Plug-Ins/Components Components cd dist && ln -s /Library/Audio/Plug-Ins/VST VST @@ -129,9 +129,9 @@ ifdef ARCH_WIN cp /mingw64/bin/libstdc++-6.dll dist/Rack/ cp /mingw64/bin/libgcc_s_seh-1.dll dist/Rack/ cp plugins/Fundamental/dist/Fundamental-*.zip dist/Rack/Fundamental.zip - # Make ZIP + @# Make ZIP cd dist && zip -5 -r Rack-$(VERSION)-$(ARCH).zip Rack - # Make NSIS installer + @# Make NSIS installer makensis installer.nsi mv Rack-setup.exe dist/Rack-$(VERSION)-$(ARCH).exe endif @@ -144,11 +144,11 @@ ifdef ARCH_LIN $(STRIP) -s dist/Rack/$(TARGET) ldd dist/Rack/$(TARGET) cp plugins/Fundamental/dist/Fundamental-*.zip dist/Rack/Fundamental.zip - # Make ZIP + @# Make ZIP cd dist && zip -5 -r Rack-$(VERSION)-$(ARCH).zip Rack endif - # Rack SDK + @# Rack SDK mkdir -p dist/Rack-SDK cp LICENSE* dist/Rack-SDK/ cp *.mk dist/Rack-SDK/ diff --git a/compile.mk b/compile.mk index ebb705ef..397fc0cc 100644 --- a/compile.mk +++ b/compile.mk @@ -81,6 +81,6 @@ ifdef ARCH_WIN $(OBJCOPY) -I binary -O pe-x86-64 -B i386:x86-64 --rename-section .data=.rodata,alloc,load,readonly,data,contents $< $@ endif ifdef ARCH_MAC - # Apple makes this needlessly complicated, so just generate a C file with an array. + @# Apple makes this needlessly complicated, so just generate a C file with an array. xxd -i $< | $(CC) $(MAC_SDK_FLAGS) -c -o $@ -xc - endif diff --git a/dep/Makefile b/dep/Makefile index 5a9f16c4..66dde272 100755 --- a/dep/Makefile +++ b/dep/Makefile @@ -88,7 +88,7 @@ $(libspeexdsp): $(openssl): $(WGET) "https://www.openssl.org/source/openssl-1.1.0h.tar.gz" $(UNTAR) openssl-1.1.0h.tar.gz - # ./config ignores CFLAGS, so hack it in with CC + @# ./config ignores CFLAGS, so hack it in with CC cd openssl-1.1.0h && CC="$(CC) $(CFLAGS)" ./config --prefix="$(realpath $(DEP_LOCAL))" $(MAKE) -C openssl-1.1.0h $(MAKE) -C openssl-1.1.0h install_sw @@ -144,7 +144,7 @@ $(rtaudio): cd rtaudio/build && $(CMAKE) $(RTAUDIO_FLAGS) .. $(MAKE) -C rtaudio/build $(MAKE) -C rtaudio/build install - # For some reason, it doesn't install the static library + @# For some reason, it doesn't install the static library cp rtaudio/build/librtaudio_static.a lib/librtaudio.a $(nanovg): $(wildcard nanovg/src/*.h) diff --git a/plugin.mk b/plugin.mk index 35f2c30e..2aa2c130 100644 --- a/plugin.mk +++ b/plugin.mk @@ -48,16 +48,16 @@ clean: dist: all rm -rf dist mkdir -p dist/$(SLUG) - # Strip and copy plugin binary + @# Strip and copy plugin binary cp $(TARGET) dist/$(SLUG)/ ifdef ARCH_MAC $(STRIP) -S dist/$(SLUG)/$(TARGET) else $(STRIP) -s dist/$(SLUG)/$(TARGET) endif - # Copy distributables + @# Copy distributables cp -R $(DISTRIBUTABLES) dist/$(SLUG)/ - # Create ZIP package + @# Create ZIP package cd dist && zip -5 -r $(SLUG)-$(VERSION)-$(ARCH).zip $(SLUG) install: dist