summaryrefslogtreecommitdiffstats
path: root/keyspan_pda/Makefile
blob: fc37ea48b5d4bf3ca2a5e5ab43b88c440613e9a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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