Skip to content
Snippets Groups Projects
Commit b70ac572 authored by Avi Kivity's avatar Avi Kivity
Browse files

make: 'clean' target

parent b5bcec70
No related branches found
No related tags found
No related merge requests found
...@@ -18,4 +18,8 @@ loader.elf: arch/x64/boot.o arch/x64/loader.ld loader.o runtime.o $(drivers) \ ...@@ -18,4 +18,8 @@ loader.elf: arch/x64/boot.o arch/x64/loader.ld loader.o runtime.o $(drivers) \
$(CXX) $(CXXFLAGS) -nostartfiles -static -nodefaultlibs -o $@ \ $(CXX) $(CXXFLAGS) -nostartfiles -static -nodefaultlibs -o $@ \
$(^:%.ld=-T %.ld) -lsupc++ $(^:%.ld=-T %.ld) -lsupc++
clean:
find -name '*.[od]' | xargs rm
rm -f loader.elf loader.bin
-include $(shell find -name '*.d') -include $(shell find -name '*.d')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment