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
21 cat $< | ../../makebin/makebin > $@
24 gcc -g -O2 -DREG= -DNOSTRUCTASSIGN -DNOENUM -o dhry dhry.c
27 rm -f *~ dhry *.o *.gb *.ihx *.rel