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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
27
586096c45873 clean up
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
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
586096c45873 clean up
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
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
586096c45873 clean up
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
5 .c.exe :
586096c45873 clean up
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
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
586096c45873 clean up
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
8 test : $(TEST)
586096c45873 clean up
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
9 for exe in ${TEST} ; do \
586096c45873 clean up
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
10 ./$${exe} ; \
586096c45873 clean up
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
11 done
9
34365a1eb6a3 output assembly file at making.
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents: 7
diff changeset
12
27
586096c45873 clean up
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
13 clean :
586096c45873 clean up
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 23
diff changeset
14 rm -f ${TEST}