From 333e6413a373a1a16e31a605b7d777e5747cc838 Mon Sep 17 00:00:00 2001 From: Forest Belton Date: Thu, 1 Jul 2021 06:22:33 -0400 Subject: [PATCH] Beautify Makefile output --- Makefile | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index f539418..3530a25 100644 --- a/Makefile +++ b/Makefile @@ -18,20 +18,25 @@ OFILES := $(SFILES:%.s=%.o) $(MAP_S:%.s=%.o) .PHONY: clean is.gb is.gb.sym: $(OFILES) - rgblink -o $@ -n $@.sym $(OFILES) - rgbfix -v $@ + @echo "[LINK] is.gb" + @rgblink -o $@ -n $@.sym $(OFILES) + @rgbfix -v $@ $(OFILES): $(MAP_INC) $(OFILES): $(SPRITE_2BPP) %.o: %.s - rgbasm -i inc -o $@ $< + @echo "[ASSEMBLE] $<" + @rgbasm -i inc -o $@ $< png/map/%.s png/map/%.inc: png/map/%.png png/map/%_coll.png - $(PYTHON) scripts/generate_map.py $< + @echo "[MAP] $<" + @$(PYTHON) scripts/generate_map.py $< png/sprite/%.2bpp: png/sprite/%.png - rgbgfx -o $@ $< + @echo "[SPRITE] $<" + @rgbgfx -o $@ $< clean: - rm -f is.gb is.gb.sym $(OFILES) $(MAP_S) $(MAP_INC) $(SPRITE_2BPP) + @rm -f is.gb is.gb.sym $(OFILES) $(MAP_S) $(MAP_INC) $(SPRITE_2BPP) + @echo "All build files removed"