ref: 2b961ceaf41c88edf4625d66aa35acf1dada825e
parent: 1b9ee46af9f8baac0d266a54130115a719788377
author: yenatch <yenatch@gmail.com>
date: Mon Jan 27 11:37:16 EST 2014
Clean up makefile messages and prerequisite handling
--- a/Makefile
+++ b/Makefile
@@ -41,12 +41,12 @@
clean:
rm -f $(ROMS)
rm -f $(OBJS)
- @echo "removing *.tx" && find . -iname '*.tx' -exec rm {} +
+ find . -iname '*.tx' -exec rm {} +
rm -f redrle
baserom.gbc: ;
- @echo "Wait! Need baserom.gbc first. Check README and INSTALL for details." && false
+ @echo "Wait! Need baserom.gbc first. Check README for details." && false
%.asm: ;
.asm.tx:
@@ -59,10 +59,10 @@
rgbasm -o $@ $*.tx
pokered.gbc: $(RED_OBJS)
- rgblink -n $*.sym -m $*.map -o $@ $(RED_OBJS)
+ rgblink -n $*.sym -m $*.map -o $@ $^
rgbfix -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON RED" $@
pokeblue.gbc: $(BLUE_OBJS)
- rgblink -n $*.sym -m $*.map -o $@ $(BLUE_OBJS)
+ rgblink -n $*.sym -m $*.map -o $@ $^
rgbfix -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON BLUE" $@