generated from latest configure.in
[fw/sdcc] / device / examples / xa51 / Makefile
index de7a759e993404d58ea0915ae97180ea46d6d2dd..f439f6701d02d0736cb754ecd37fc97ab855b79d 100644 (file)
@@ -1,15 +1,17 @@
 CC = sdcc
 
-CFLAGS= -Wa-s -V
+CFLAGS= -Wa-s --dumpall
 MFLAGS= -mxa51
+#LFLAGS= --code-loc 0x1000 --xram-loc 0x4000
 LFLAGS= --xram-loc 0x4000
 
 all: hello.hex
 
-OBJECTS = hello.rel hwinit.rel
+OBJECTS = hello.rel hwinit.rel dummy.rel
 
 hello.hex: $(OBJECTS)
        $(CC) $(MFLAGS) $(LFLAGS) $(OBJECTS)
+       echo go | sxa hello.hex
 
 clean:
        rm -f core *~ \#* *.asm *.cdb *.rel *.hex *.ihx *.lst *.map \