Makefile: clean-all
authorJohn Tsiombikas <nuclear@member.fsf.org>
Mon, 19 Dec 2022 01:05:15 +0000 (03:05 +0200)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Mon, 19 Dec 2022 01:05:15 +0000 (03:05 +0200)
Makefile

index bc33ff8..af6c7bf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,12 +20,19 @@ $(bin): $(obj) 3dengfx
 3dengfx:
        $(MAKE) -C src/3dengfx
 
+.PHONY: 3dengfx-clean
+3dengfx-clean:
+       $(MAKE) -C src/3dengfx clean
+
 -include $(obj:.o=.d)
 
 .PHONY: clean
 clean:
        $(RM) $(obj) $(bin)
 
+.PHONY: cleanall
+cleanall: clean 3dengfx-clean cleandep
+
 .PHONY: cleandep
 cleandep:
        $(RM) $(obj:.o=.d)