Fixed USB host bugs.
[goodfet] / shellcode / chipcon / cc1110 / Makefile
1 # These targets are compiled to execute at the beginning of RAM.  Each
2 # should conclude with HALT (0xA5).  Sometimes grabbing code from
3 # foo.rst will be smaller, especially if no ljmps occur.
4
5
6 # Input and output should be taken from a buffer at 0xFE00.
7 # "char __xdata at 0xfe00 packet[256] ;"
8 # Use lower RAM if needed.
9
10 CC=sdcc --code-loc 0xF000 
11 objs=crystal.ihx txpacket.ihx rxpacket.ihx txrxpacket.ihx reflex.ihx rxpacketp25.ihx reflexframe.ihx carrier.ihx specan.ihx
12
13 all: $(objs)
14
15 %.ihx : %.c
16         $(CC) $<
17 clean:
18         rm -f *.ihx *.rel *.hex *.sym *.asm *.lst *.lnk *.map *.mem *.rst *.adb
19 install: $(objs)
20         cp $(objs) ../../../client/shellcode/chipcon/cc1110/
21         #Shellcode installed.