1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:08:13 +00:00

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.
This commit is contained in:
Andrew Kaster 2020-01-02 00:26:37 -05:00 committed by Andreas Kling
parent 2c4f837428
commit 4698a10dd1

View file

@ -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) $<