1 # Simple Makefile for dhrystone and sdcc
6 CC = $(TOPDIR)/bin/sdcc
8 # -DNOENUM is here to make the results more predictable
9 CFLAGS += -DREG= -DNOSTRUCTASSIGN -DNOENUM -V -m$(PROC) --profile --dumpall --stack-auto
16 $(CC) $(CFLAGS) dhry.c
19 $(CC) $(CFLAGS) dhry.c
24 cat $< | $(TOPDIR)/bin/makebin > $@
27 gcc -g -O2 -DREG= -DNOSTRUCTASSIGN -DNOENUM -o dhry dhry.c
30 rm -f *~ dhry *.o *.gb *.ihx *.rel *.dump* *.lst *.sym *.map *.asm *.bin *.gb