1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00
serenity/Demos/DynamicLink/LinkLib/Makefile
Andrew Kaster 4698a10dd1 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.
2020-01-02 12:28:29 +01:00

15 lines
349 B
Makefile

include ../../../Makefile.common
DYNLIBRARY = libDynamicLib.so
EXTRA_CLEAN = *.o *.so
all: $(DYNLIBRARY)
DynamicLib.o: DynamicLib.cpp
@echo "$(notdir $(CURDIR)): C++ $@"
$(QUIET) $(CXX) -DDEBUG -fPIC -isystem../../../ -o $@ -c $<
$(DYNLIBRARY): DynamicLib.o
@echo "$(notdir $(CURDIR)): DYLIB $@"
$(QUIET) $(CXX) -shared -o $(DYNLIBRARY) $<