mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:37:45 +00:00
Build: Demos/DynamicLink: use EXTRA_CLEAN
This commit is contained in:
parent
f06d0da39f
commit
e7de8af379
1 changed files with 2 additions and 4 deletions
|
@ -1,8 +1,9 @@
|
|||
|
||||
include ../../../Makefile.common
|
||||
|
||||
DYNLIBRARY = libDynamicLib.so
|
||||
|
||||
EXTRA_CLEAN = *.o *.so
|
||||
|
||||
.PHONY: clean all
|
||||
|
||||
all: $(DYNLIBRARY)
|
||||
|
@ -15,6 +16,3 @@ DynamicLib.o: DynamicLib.cpp
|
|||
# which is clearly wrong. Isn't it? We don't want _start...
|
||||
$(DYNLIBRARY): DynamicLib.o
|
||||
$(CXX) -shared -nostartfiles -ffreestanding -o $(DYNLIBRARY) $<
|
||||
|
||||
clean:
|
||||
rm -f *.o *.d *.so
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue