# Copyright (C) 1998-2010 ERG Limited, All rights reserved
#
# Module name   : Makefile.pl
# Module type   : Makefile system
# Compiler(s)   : ANSI C
# Environment(s): n/a
#
# Description:    makefile.pl example of MakeNsisPackage
#
#.........................................................................#

die "Usage: Makefile.pl rootdir Makelib.pl\n"
    unless( $#ARGV+1 >= 2 );
require "$ARGV[1]";

#
# Build platform definitions ..
#
Platform( '*' );

############################################################################
#   Define the source files
#
MakeNsisPackage( '*',
               '--Script=IS11.5SABuilder.nsi' ,             # Script(s) to process
               '--Verbose=4' ,                      # Default = 2 0..4 allowed
               );

#.............................................................................
# Finally generate the makefile
#
MakefileGenerate();

#..  Successful termination
1;

