diff --git a/Makefile b/Makefile index 0cd18bb..c610ea4 100644 --- a/Makefile +++ b/Makefile @@ -11,8 +11,8 @@ all: $(PARTS) $(CHDL) -r $(FLAGS) $@ --wave=$@.ghw --stop-time=$(STOP) clean: - rm *.o - rm *.cf - rm *.ghw - -.PHONY: all clean $(PARTS) + find . -name '*.o' -exec rm -r {} \; + find . -name '*.cf' -exec rm -r {} \; + find . -name '*.ghw' -exec rm -r {} \; + find . -name '*.entity' -exec rm -r {} \; + find . -name $(PARTS) -exec rm -r {} \;