linux-firmware/keyspan_pda/Makefile
Ben Hutchings 7ee581d892 keyspan_pda: Add makefile for building from source
The commands given in the source aren't quite right, and don't cover
use of ihex2fw.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2011-12-16 05:42:11 +00:00

13 lines
203 B
Makefile

CC = gcc
IHEX2FW = ihex2fw
all: keyspan_pda.fw xircom_pgs.fw
%.fw: %.S
$(CC) -x assembler-with-cpp -P -E -o $*.asm $<
as31 -l $*.asm
$(IHEX2FW) $*.hex $@
clean:
rm -f *.asm *.fw *.hex *.lst *.obj