########################################################################
# Copyright (C) Vix Technology, All rights reserved
#
# Module name   : makefile.pl
# Module type   : JATS Makefile
# Environment(s): JATS Build System
#
# Description   : Makefile for binflow
#
#......................................................................#
#
# exec build system
#
die "Usage: Makefile.pl rootdir Makelib.pl\n" unless( $#ARGV+1 >= 2 );
require "$ARGV[1]";


# Build platform definitions ..
#
Platform( '*' );
AddFlags( '*', "-D_CONSOLE" );
AddFlags( '*', "-D_MBCS" );
AddFlags( '*', "-DWIN32" );


############################################################################
#   Define the source files
#
Src     ('*',  'binflow.c');
Prog    ('*',  'binflow', @OBJS );

#.............................................................................
#   Packaging definitions
#   Package the program as a JATS toolset extension
#
PackageProg ( '*', @PROGS, '--Tool=tools/bin' );
PackageFile ( '*', 'descpkg' );

#.............................................................................
# Finally generate the makefile
#
MakefileGenerate();

#..  Successful termination
1;

