'set novalue on' /* force KEXX and its way of SIGNAL ON NOVALUE */ /* Usage: [MACRO] NMK [xyz [target]] */ /* Examples: NMK xyz (=> nmake /f xyz.nmk xyz ) */ /* NMK xyz all (=> nmake /f xyz.nmk all ) */ /* NMK (=> nmake /f nul /p nul ) */ /* Requires: Kedit 5.0 */ /* (PC DOS) 2&1.EXE (redirect STDERR to STDOUT) */ /* (PC DOS) NMK.COM (static nmake: less memory) */ /* (always) NMAKE.EXE */ /* (source) .\xyz.NMK (nmakefile with target XYZ) */ /* Purpose: nmake /f xyz.nmk target */ /* and then edit redirected make output in NMK.LST */ /* (it's NMK.LST, because I'm used to ERASE *.LST) */ parse arg NMK ALL ERR OPT if OPT = '' then OPT = '/nologo' if ERR = '' then ERR = 'nmk.lst' if ALL = '' then ALL = NMK if ALL = '' then ALL = 'nul' if NMK > '' then NMK = OPT '/f' NMK || '.nmk' ALL if NMK = '' then NMK = OPT '/f' ALL '/p' ALL if opsys.1() = 'DOS' then 'dosq 2&1 nmk' NMK '>' || ERR else 'dosq nmake' NMK '>' || ERR '2>&1' 'kedit' ERR '(nodefext'