2 CASL2 = $(YACASL2DIR)/casl2
5 check: clean report.txt
6 code_in_macro.txt: in_macro.casl
7 @$(CASL2) -O $^ && od -t x2 a.o >$@
8 code_in_cmds.txt: in_cmds.casl
9 @$(CASL2) -O $^ && od -t x2 a.o >$@
10 diff.txt: code_in_macro.txt code_in_cmds.txt
13 @echo -n "Test " >$@; \
14 if test ! -s $^; then echo -n "Success " >>$@; rm -f $^; else echo -n "Failure " >>$@; fi; \
15 echo `date +"%F %T"` >>$@
17 @rm -f code_in_macro.txt code_in_cmds.txt diff.txt report.txt a.o