rockbox/utils/ipod/bin2note/Makefile
Solomon Peachy d54b9e6f8d chore: Get rid of *all* vestigal CVS '$Id:$' tags
Change-Id: I35c13a9768c582e4851aa252dd3ea5c89f760c8c
2026-06-01 16:01:18 -04:00

27 lines
714 B
Makefile

# __________ __ ___.
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
# \/ \/ \/ \/ \/
#
all: bin2note
bin2note: bin2note.c
gcc -W -Wall -o bin2note bin2note.c
test.htm: bin2note test.bin
./bin2note test.bin test.htm
test.o: test.S
arm-elf-as -o $@ $<
test.elf: test.o
arm-elf-ld -e 0 -Ttext=0 -o $@ $<
test.bin: test.elf
arm-elf-objcopy -O binary $< $@
clean:
rm -f bin2note test.o test.elf test.bin test.htm