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:
parent
2c4f837428
commit
4698a10dd1
1 changed files with 4 additions and 4 deletions
|
@ -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) $<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue