Skip to content

Commit

Permalink
Build: Demos/DynamicLink: use EXTRA_CLEAN
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs authored and awesomekling committed Jan 1, 2020
1 parent f06d0da commit e7de8af
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Demos/DynamicLink/LinkLib/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@

include ../../../Makefile.common

DYNLIBRARY = libDynamicLib.so

EXTRA_CLEAN = *.o *.so

.PHONY: clean all

all: $(DYNLIBRARY)
Expand All @@ -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

0 comments on commit e7de8af

Please sign in to comment.