fix convert script and makefile

This commit is contained in:
optixx
2009-10-16 07:51:22 +02:00
parent 5b6e62a428
commit f027b93a1a
4 changed files with 25 additions and 7 deletions

View File

@@ -23,7 +23,8 @@ F_CPU = 20000000 # in Hz
TARGET = main
AVRDUDE = avrdude -c usbasp -p $(DEVICE)
SIZE = avr-size
LOADER = ../../roms/qd16boot02.smc
ROM_CONVERT = ../../scripts/conv_rle.py
@@ -77,7 +78,7 @@ flash: main.hex
$(AVRDUDE) -U flash:w:main.hex:i
loader:
python ../../scripts/conv_rle.py ../../snes/qd16/qd16boot.smc
python $(ROM_CONVERT) $(LOADER)
.c.o: