struct / union in initializer, RFE #901.
[sdcc.git] / sdcc-extra / historygraphs / Makefile.stdcbench-SDCC-R3KA
blob3ab4b8ac5d24885d0b9524050c80d45e2f2098f9
1 # A Makefile for SDCC targeting the RCM3319 board. Requires SDCC 4.0.4 or later. Earlier SDCC can be used with a crt0 from SDCC 4.0.4 (linking it explicitly and specifiying --no-std-crt0).
3 CC = $(SDCC) $(SDCCFLAGS)
4 SOURCES = c90base.c c90base-data.c c90base-huffman-recursive.c c90base-isort.c c90float.c c90base-huffman_tree.c stdcbench.c c90base-compression.c c90base-huffman-iterative.c c90base-immul.c c90double.c c90lib.c c90lib-lnlc.c c90lib-peep.c c90lib-peep-stm8.c c90lib-htab.c portme.c
5 OBJECTS = $(SOURCES:.c=.rel)
7 .PHONY: all clean
9 all: stdcbench.ihx
11 stdcbench.ihx: $(OBJECTS)
12         $(CC) *.rel -o stdcbench.ihx
13         cp stdcbench.ihx image.ihx
15 %.rel: %.c *.h portme.h
16         $(CC) -c $<
18 portme.c: examples/portme.c.SDCC-R3KA
19         cp examples/portme.c.SDCC-R3KA portme.c
21 portme.h: examples/portme.h.SDCC-R3KA
22         cp examples/portme.h.SDCC-R3KA portme.h
24 clean:
25         rm -f *.asm *.lst *.rel *.sym *.rst *.map *.lk *.cdb portme.c portme.h