minor update - allow independent driver cleanup

This commit is contained in:
Blaise Tine
2021-02-28 18:19:26 -08:00
parent a9cb0b4ec1
commit 41f09ffb55
2 changed files with 18 additions and 3 deletions

View File

@@ -100,10 +100,20 @@ $(ASE_DIR):
.depend: $(SRCS)
$(CXX) $(CXXFLAGS) -MM $(SRCS) > .depend;
clean:
rm -rf $(PROJECT) $(PROJECT_ASE) $(PROJECT_VLSIM) *.o .depend
clean-fpga:
rm -rf $(PROJECT) *.o .depend
clean-asesim:
rm -rf $(PROJECT_ASE) *.o .depend
clean-vlsim:
$(MAKE) -C vlsim clean
clean:
clean-fpga
clean-asesim
clean-vlsim
ifneq ($(MAKECMDGOALS),clean)
-include .depend
endif