Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc / support / tests / dhrystone / tini400.mak
blob47ba4a460afb3e6239d8cdfa4082ffb798ade8d0
1 CC = ../../../bin/sdcc
3 MFLAGS = -mds400 --model-flat24 --stack-10bit
4 MFLAGS += -DREG= -DNOSTRUCTASSIGN -DNOENUM
5 LFLAGS = --xram-loc 0x10000 --code-loc 0x400000 -Wl-r
7 OBJECTS = dhry.rel
9 all: dhry.hex
11 clean:
12 rm -f *~ \#* *.asm *.cdb *.rel *.hex *.ihx *.lst *.map *.rst *.sym *.lnk
14 dhry.hex: dhry.ihx
15 packihx dhry.ihx >dhry.hex
17 dhry.ihx: $(OBJECTS)
18 $(CC) $(MFLAGS) $(LFLAGS) $(OBJECTS)
20 %.rel: %.c
21 $(CC) -c $(MFLAGS) $<