1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:07:45 +00:00

Build: Demos/DynamicLink: use EXTRA_CLEAN

This commit is contained in:
joshua stein 2020-01-01 13:17:35 -06:00 committed by Andreas Kling
parent f06d0da39f
commit e7de8af379

View file

@ -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