Subversion Repositories DevTools

Rev

Rev 2072 | Rev 2075 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

# Copyright (C) 1998-2008 ERG Limited, All rights reserved
#
# Module name   : Makefile.pl
# Module type   : Makefile system
# Compiler(s)   : ANSI C
# Environment(s): n/a
#
# Description:    makefile.pl CopyFile
#
#.........................................................................#

die "Usage: Makefile.pl roottest Makelib.pl\n"
    unless( $#ARGV+1 >= 2 );
require "$ARGV[1]";

# Build platform definitions ..
#
Platform( '*' );
AddFlags ('WIN32', '-DUNICODE', '-D_UNICODE');

############################################################################
#   Define the source files
#
Src ('*', "CopyFile.c");                        # For Windows
Src ('*', "CopyFileUnx.c");                     # For Unix

Prog('WIN32' , "CopyFile", "CopyFile" );
Prog('!WIN32' ,"CopyFile", "CopyFileUnx" );

#.............................................................................
# Packaging definitions
#
PackageProg ( '*'   , "CopyFile" );

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

#..  Successful termination
1;