<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns='http://www.w3.org/1999/xhtml'> <head> <title>as/macro/out/test/Makefile</title> <meta name='robots' content='noindex,nofollow' /> <meta name='generator' content='GLOBAL-6.6.5' /> <meta http-equiv='Content-Style-Type' content='text/css' /> <link rel='stylesheet' type='text/css' href='../style.css' /> </head> <body> <a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/2861.html'>as</a>/<a href='../files/2905.html'>macro</a>/<a href='../files/2908.html'>out</a>/<a href='../files/2909.html'>test</a>/Makefile</h2> <em class='comment'>/* [<][>][^][v][top]<a href='#BOTTOM'>[bottom]</a><a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em> <hr /> <pre> <a id='L1' name='L1'></a>YACASL2DIR=../../../.. <a id='L2' name='L2'></a>CASL2 = $(YACASL2DIR)/casl2 <a id='L3' name='L3'></a> <a id='L4' name='L4'></a>.PHPNY: check clean <a id='L5' name='L5'></a>check: clean report.txt <a id='L6' name='L6'></a>code_out_macro.txt: out_macro.casl <a id='L7' name='L7'></a> @$(CASL2) -O $^ && od -t x2 a.o >$@ <a id='L8' name='L8'></a>code_out_cmds.txt: out_cmds.casl <a id='L9' name='L9'></a> @$(CASL2) -O $^ && od -t x2 a.o >$@ <a id='L10' name='L10'></a>diff.txt: code_out_macro.txt code_out_cmds.txt <a id='L11' name='L11'></a> @-diff -c $^ >$@ 2>&1 <a id='L12' name='L12'></a>report.txt: diff.txt <a id='L13' name='L13'></a> @echo -n "Test " >$@; \ <a id='L14' name='L14'></a> if test ! -s $^; then echo -n "Success " >>$@; rm -f $^; else echo -n "Failure " >>$@; fi; \ <a id='L15' name='L15'></a> echo `date +"%F %T"` >>$@ <a id='L16' name='L16'></a>clean: <a id='L17' name='L17'></a> @rm -f code_out_macro.txt code_out_cmds.txt diff.txt report.txt a.o </pre> <hr /> <a id='BOTTOM' name='BOTTOM'></a> <em class='comment'>/* [<][>][^][v]<a href='#TOP'>[top]</a>[bottom]<a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em> </body> </html>