diff --git a/Makefile b/Makefile index 4f6125c..c7a5a8d 100644 --- a/Makefile +++ b/Makefile @@ -7,11 +7,11 @@ compile: js c .PHONY: c c: - $(MAKE) -f $(MAKEJS) + $(MAKE) -f $(MAKEC) .PHONY: js js: - $(MAKE) -f $(MAKEC) + $(MAKE) -f $(MAKEJS) .PHONY: clean clean: diff --git a/Makefile.js b/Makefile.js index 4228f38..a1dccb0 100644 --- a/Makefile.js +++ b/Makefile.js @@ -78,5 +78,6 @@ $(BUILD): .PHONY: clean clean: rm -rf $(BUILD) + find $(JS) ! -name 'lib.js' -type f -exec rm -f {} + -include $(wildcard $(BUILD)/*.d)