mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 11:39:44 +03: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: https://github.com/SerenityOS/serenity/commit/e7de8af3796 Pull-request: https://github.com/SerenityOS/serenity/pull/987
@ -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…
Reference in New Issue
Block a user