Mercurial > hg > CbC > CbC_examples
annotate Makefile @ 29:a94136a6edb2 default tip
fix for LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 17 Jul 2021 14:38:29 +0900 |
parents | 586096c45873 |
children |
rev | line source |
---|---|
27 | 1 TEST = arg.exe conv1.exe fact-a.exe goto.exe loto6.exe stack1.exe test02.exe test05.exe test1.exe test2.exe test_cs.exe test_csp1.exe test_func2code.exe test_para2.exe test_para3.exe test_para4.exe test_para.exe test_tree.exe tmp1.exe tmp2.exe tmp4.exe tmpa.exe too-long-argument.exe c-next.exe |
1
ba74047a4d78
add Makefile for arg, bug, conv, normal and fix these .c file
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
2 |
27 | 3 .SUFFIXES: .exe |
1
ba74047a4d78
add Makefile for arg, bug, conv, normal and fix these .c file
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
4 |
27 | 5 .c.exe : |
6 ${CBC_COMPILER} $(CFLAGS) -o $@ $< | |
1
ba74047a4d78
add Makefile for arg, bug, conv, normal and fix these .c file
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
7 |
27 | 8 test : $(TEST) |
9 for exe in ${TEST} ; do \ | |
10 ./$${exe} ; \ | |
11 done | |
9
34365a1eb6a3
output assembly file at making.
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
7
diff
changeset
|
12 |
27 | 13 clean : |
14 rm -f ${TEST} |