########################################################################
# Copyright (c) VIX TECHNOLOGY (AUST) LTD
# Module name   : makefile.pl
# Module type   : JATS Makefile
# Environment(s): JATS Build System
#
# Description   : Makefile for jats-test-hello-world 
#
#......................................................................#
#
# exec build system
#
die "Usage: Makefile.pl rootdir Makelib.pl\n" unless( $#ARGV+1 >= 2 );
require "$ARGV[1]";

# Build platform definitions ..
#
Platform( '*' );

############################################################################
#   Define the source files
#
Src        ( '*'    , "file1.c" );

#
#   Build and install the library
#
Prog       ( '*', "hello", "file1" );

#.............................................................................
# Packaging definitions
#
PackageLib  ( '*'   , @LIBS, @SHLIBS );
PackageProg ( '*'   , @PROGS );

#.............................................................................
# Finally generate the makefile
#
MakefileGenerate();

#..  Successful termination
1;

