mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-25 18:58:56 +00:00
Build: Demos/DynamicLink: use EXTRA_CLEAN
This commit is contained in:
parent
f06d0da39f
commit
e7de8af379
Notes:
sideshowbarker
2024-07-19 10:28:11 +09:00
Author: https://github.com/jcs
Commit: e7de8af379
Pull-request: https://github.com/SerenityOS/serenity/pull/987
1 changed files with 2 additions and 4 deletions
|
@ -1,8 +1,9 @@
|
||||||
|
|
||||||
include ../../../Makefile.common
|
include ../../../Makefile.common
|
||||||
|
|
||||||
DYNLIBRARY = libDynamicLib.so
|
DYNLIBRARY = libDynamicLib.so
|
||||||
|
|
||||||
|
EXTRA_CLEAN = *.o *.so
|
||||||
|
|
||||||
.PHONY: clean all
|
.PHONY: clean all
|
||||||
|
|
||||||
all: $(DYNLIBRARY)
|
all: $(DYNLIBRARY)
|
||||||
|
@ -15,6 +16,3 @@ DynamicLib.o: DynamicLib.cpp
|
||||||
# which is clearly wrong. Isn't it? We don't want _start...
|
# which is clearly wrong. Isn't it? We don't want _start...
|
||||||
$(DYNLIBRARY): DynamicLib.o
|
$(DYNLIBRARY): DynamicLib.o
|
||||||
$(CXX) -shared -nostartfiles -ffreestanding -o $(DYNLIBRARY) $<
|
$(CXX) -shared -nostartfiles -ffreestanding -o $(DYNLIBRARY) $<
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f *.o *.d *.so
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue