* Removed svn:executable property from non-executable files
[fw/sdcc] / device / examples / ds390 / rtc390 / Makefile
1 CC = sdcc
2
3 MFLAGS = -mds390
4 LFLAGS = --xram-loc 0x100080 --code-loc 0x10000 -Wl-r
5
6 OBJECTS = rtc390.rel
7
8 all: rtc390.hex
9
10 clean:
11         rm -f *~ \#* *.asm *.cdb *.rel *.hex *.ihx *.lst *.map *.rst *.sym *.lnk core *.dump*
12
13 rtc390.hex: $(OBJECTS)
14         $(CC) $(MFLAGS) $(LFLAGS) $(OBJECTS) 
15         packihx rtc390.ihx >rtc390.hex
16         #tinitalk -c execute rtc390.hex
17
18 %.rel: %.c
19         $(CC) -c $(MFLAGS) -I . $<