summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Kaster <andrewdkaster@gmail.com>2020-01-02 00:26:37 -0500
committerAndreas Kling <awesomekling@gmail.com>2020-01-02 12:28:29 +0100
commit4698a10dd164d43c06ace04c21c742a304d0600b (patch)
tree89b862774fced903a5dd5436e4ef8fe3d13ce4cd
parent2c4f83742825cd2d2d59076c3b1b00452711fb55 (diff)
downloadserenity-4698a10dd164d43c06ace04c21c742a304d0600b.zip
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.
-rw-r--r--Demos/DynamicLink/LinkLib/Makefile8
1 files 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) $<