From 4698a10dd164d43c06ace04c21c742a304d0600b Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Thu, 2 Jan 2020 00:26:37 -0500 Subject: [PATCH] Demos: DynamicLink makefile now respects $(QUIET) At a later date we'll probably want a template for SHLIB_OBJS and SHLIB or some such, but for now at least the library demo isn't printing compile commands all over the user's terminal. --- Demos/DynamicLink/LinkLib/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Demos/DynamicLink/LinkLib/Makefile b/Demos/DynamicLink/LinkLib/Makefile index 80abed2882..c4550d9f61 100644 --- a/Demos/DynamicLink/LinkLib/Makefile +++ b/Demos/DynamicLink/LinkLib/Makefile @@ -4,12 +4,12 @@ DYNLIBRARY = libDynamicLib.so EXTRA_CLEAN = *.o *.so -.PHONY: clean all - all: $(DYNLIBRARY) DynamicLib.o: DynamicLib.cpp - $(CXX) -DDEBUG -fPIC -isystem../../../ -o $@ -c $< + @echo "$(notdir $(CURDIR)): C++ $@" + $(QUIET) $(CXX) -DDEBUG -fPIC -isystem../../../ -o $@ -c $< $(DYNLIBRARY): DynamicLib.o - $(CXX) -shared -o $(DYNLIBRARY) $< + @echo "$(notdir $(CURDIR)): DYLIB $@" + $(QUIET) $(CXX) -shared -o $(DYNLIBRARY) $<