Servertec | iScriptMake
M E N U Content Introduction Release Notes Requirements Installation Change Log Future Plans Knowledge Base Referance Manual Conventions Scriptlets Data Types Constants Variables Procedures Operators Statements Objects Wrappers Server Side Preprocessor Executable Make Samples Legal Feedback | iScript make can be used to generate pages only when needed. #### Syntax mk { -v{erbose} }{ { -a{ll} } { -f{ile} makefile } { target } #### Parameters -verbose display verbose error messages, useful when debugging iScript make files. -all make all targets -file specify make file makefile the name of the file to make makefile if none specified target the target to make all if none specified #### Returns returncode 0 if no errors occured. -1 if an error occured. #### Notes Make file use the following syntax: #### Commands # comment variable = value #### Macros $(variable) #### Rules .sourceextension.targetextension: command ... #### Rule Macros $s dependency file c:\work\prog.c $d dependency drive c: $p dependency path c:\work\ $f dependency file name prog.c $b dependency file base prog $e dependency file extension c $@ target c:\work\prog.exe $* target base path c:\work\prog $** dependencies $? newer dependencies $< newer dependencies #### Targets target: srcfile { depfile }... #### Example mk mk -a mk -f doc.mak #### Example # generate html pages from templates using preprocessor dep = template.inc .ctf.html: pp $*.ctf $*.html all: index.html exit.html links.html index.html: index.ctf exit.html: exit.ctf $(dep) links.html: links.ctf $(dep)
top of page
| Copyright © 1997-1998 Servertec. All rights reserved. Last Modified: Wed Apr 15 00:16:38 EDT 1998