Mercurial > hg > CbC > old > device
changeset 824:2e6a95731a5e
check ps3 ppc
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 26 Nov 2010 06:37:41 +0900 |
parents | 9f72a44a5dc4 |
children | 425768eb5e9e |
files | Makefile.powerpc |
diffstat | 1 files changed, 23 insertions(+), 23 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.powerpc Sat Nov 27 05:07:48 2010 +0900 +++ b/Makefile.powerpc Fri Nov 26 06:37:41 2010 +0900 @@ -1,7 +1,7 @@ CC = gcc -std=c99 $(CCEXT) # -O3 -MCFLAGS = -DUSE_CODE_KEYWORD -CFLAGS = -g -O -Wall -I. $(MCFLAGS) +MCFLAG = -DUSE_CODE_KEYWORD +CFLAGS = -g -O -Wall -I. $(MCFLAG) # CFLAGS = -g -Wall -I. -pg -fprofile-arcs -ftest-coverage # LDFLAGS = -pg # for Linux Zaurus @@ -156,7 +156,7 @@ check: mc $(MC) $(TARGET).c -$(CC) $(CFLAGS1) $(STDFLAG) $(TARGET).c -o b.out $(MLIB) -./b.out > $(TARGET).gcc.out - -./$(MC) -s $(TARGET).c + -./$(MC) $(MCFLAG) -s $(TARGET).c -$(CC) $(TARGET).s $(MLIB) -./a.out > $(TARGET).$(MC).out -diff $(TARGET).gcc.out $(TARGET).$(MC).out @@ -164,23 +164,23 @@ check-inline: mc $(MC) $(TARGET).c -$(CC) $(CFLAGS1) $(STDFLAG) $(TARGET).c -o b.out $(MLIB) -./b.out > $(TARGET).gcc.out - -./$(MC) -s -DINLINE=inline $(TARGET).c + -./$(MC) $(MCFLAG) -s -DINLINE=inline $(TARGET).c -$(CC) $(TARGET).s $(MLIB) -./a.out > $(TARGET).$(MC).out -diff $(TARGET).gcc.out $(TARGET).$(MC).out check-code: mc $(MC) - -./$(MC) -s $(TARGET).c + -./$(MC) $(MCFLAG) -s $(TARGET).c -$(CC) $(TARGET).s $(MLIB) -./a.out > $(TARGET).$(MC).out -diff $(TARGET).code-out $(TARGET).$(MC).out check-code-inline: mc $(MC) - -./$(MC) -s -DINLINE=inline $(TARGET).c + -./$(MC) $(MCFLAG) -s -DINLINE=inline $(TARGET).c -$(CC) $(TARGET).s $(MLIB) -./a.out > $(TARGET).$(MC).out -diff $(TARGET).code-out $(TARGET).$(MC).out check-code-make: mc $(MC) - -./$(MC) -s $(TARGET).c + -./$(MC) $(MCFLAG) -s $(TARGET).c -$(CC) $(TARGET).s $(MLIB) -./a.out > $(TARGET).code-out @@ -188,7 +188,7 @@ -$(CC) -DFLIP -c test/basic2.c -$(CC) basic2.o test/basic2.c ./a.out - -./$(MC) -s test/basic2.c + -./$(MC) $(MCFLAG) -s test/basic2.c -$(CC) test/basic2.s -DFLIP test/basic2.c ./a.out -./$(MC) -DFLIP -s test/basic2.c @@ -233,37 +233,37 @@ $(CC) -g -o $@ $(PRINTF) b00.s b01.s b02.s b03.s b04.s mc-macro.o mc-inline.o $(CONVERTER) b00.s : mc-parse.c $(MC) - ./$(MC) $(MCFLAGS) -s -ob00.s mc-parse.c + ./$(MC) $(MCFLAG) -s -ob00.s mc-parse.c b01.s : $(CODE) $(MC) - ./$(MC) $(MCFLAGS) -s -ob01.s $(CODE) + ./$(MC) $(MCFLAG) -s -ob01.s $(CODE) b02.s : mc-codegen.c $(MC) - ./$(MC) $(MCFLAGS) -s -ob02.s mc-codegen.c + ./$(MC) $(MCFLAG) -s -ob02.s mc-codegen.c b03.s : mc-tree.c $(MC) - ./$(MC) $(MCFLAGS) -s -ob03.s mc-tree.c + ./$(MC) $(MCFLAG) -s -ob03.s mc-tree.c b04.s : mc-switch.c $(MC) - ./$(MC) $(MCFLAGS) -s -ob04.s mc-switch.c + ./$(MC) $(MCFLAG) -s -ob04.s mc-switch.c b10.s : mc-parse.c mc1 - ./mc1 $(MCFLAGS) -s -ob10.s mc-parse.c + ./mc1 $(MCFLAG) -s -ob10.s mc-parse.c b11.s : $(CODE) $(PRINTF) mc1 - ./mc1 $(MCFLAGS) -s -ob11.s $(CODE) + ./mc1 $(MCFLAG) -s -ob11.s $(CODE) b12.s : mc-codegen.c mc1 - ./mc1 $(MCFLAGS) -s -ob12.s mc-codegen.c + ./mc1 $(MCFLAG) -s -ob12.s mc-codegen.c b13.s : mc-tree.c mc1 - ./mc1 $(MCFLAGS) -s -ob13.s mc-tree.c + ./mc1 $(MCFLAG) -s -ob13.s mc-tree.c b14.s : mc-switch.c mc1 - ./mc1 $(MCFLAGS) -s -ob14.s mc-switch.c + ./mc1 $(MCFLAG) -s -ob14.s mc-switch.c b20.s : mc-parse.c mc2 - ./mc2 $(MCFLAGS) -s -ob20.s mc-parse.c + ./mc2 $(MCFLAG) -s -ob20.s mc-parse.c b21.s : $(CODE) $(PRINTF) mc2 - ./mc2 $(MCFLAGS) -s -ob21.s $(CODE) + ./mc2 $(MCFLAG) -s -ob21.s $(CODE) b22.s : mc-codegen.c mc2 - ./mc2 $(MCFLAGS) -s -ob22.s mc-codegen.c + ./mc2 $(MCFLAG) -s -ob22.s mc-codegen.c b23.s : mc-tree.c mc2 - ./mc2 $(MCFLAGS) -s -ob23.s mc-tree.c + ./mc2 $(MCFLAG) -s -ob23.s mc-tree.c b24.s : mc-switch.c mc1 - ./mc2 $(MCFLAGS) -s -ob24.s mc-switch.c + ./mc2 $(MCFLAG) -s -ob24.s mc-switch.c diff : b00.s b01.s b02.s b03.s b04.s b10.s b11.s b12.s b13.s b14.s -diff b00.s b10.s