diff --git a/Demos/DynamicLink/LinkLib/Makefile b/Demos/DynamicLink/LinkLib/Makefile index f8db532844..daac238c4e 100644 --- a/Demos/DynamicLink/LinkLib/Makefile +++ b/Demos/DynamicLink/LinkLib/Makefile @@ -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