Blame | Last modification | View Log | RSS feed
$env = new cons( CC => 'gcc',CFLAGS => '-mno-cygwin -Wall',LDFLAGS => '-mno-cygwin',ISCC => '/cygdrive/c/Program\ Files/Inno\ Setup\ 4/iscc.exe' );Program $env 'mara', qw(check.c config.c dcheck.c disqual.c legtime.cmara.c menudrv.c print.c report.c teamupd.c times.cupload.c vduW32.c );## My own method to create a setup.exe for a program# Use as:# InstallScript $env <destination>, <name>## Where:# destination is the name of the target setup.exe# name is the base name of the .exe to be installed# and the .iss install script#sub cons::InstallScript {my ($env, $dst, $name) = @_;# print "InstallScript: $dst , $name\n";$script = $name . '.iss';$exe = $name . '.exe';$dummy = '__' . $script;Command $env $dst, $exe, $script , qq(cp $script $dummy; %ISCC $dummy; rm $dummy);}InstallScript $env 'setup.exe' , 'mara' ;Default 'mara';