view CbC-examples/Makefile @ 134:71d4882a9ac3

add cbc-example
author kono
date Thu, 08 Nov 2018 06:52:59 +0900
parents fe568345ddd5
children 4627f235cf2a
line wrap: on
line source

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

.SUFFIXES: .exe

.c.exe : 
	${CBC_COMPILER} $(CFLAGS) -o $@ $<

test : $(TEST)
	for exe in ${TEST} ; do \
		 ./$${exe} ; \
	 done

clean : 
	rm -f ${TEST}