After you unpack the source files, you have to add the Unicon bin directory
to your path, or the make
or nmake
command will
not build all the way successfully. The
Windows build process is at present unfortunately not for the faint of heart.
m4 -D assert='($$1) | stop("Assertion failure on line ", &line, "!")'This filter might work on .m4 files to produce .icn files, or might be used in conjunction with noweb, as in Kostas' example makefile rule below. Note that this example assumes GNU m4, which can process your code without accidentally firing off built-in m4 macros if you supply the --prefix-builtins flag:
%.icn : %.nw notangle $< | \ m4 --prefix-builtins \ -D assert='($$1) | stop("Assertion failure on line ", &line, "!")'\ - > $@