Subversion Repositories DevTools

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1024 ghuddy 1
# Copyright (C) 1998-2005 ERG Limited, All rights reserved
2
#
3
# Module name   : Makefile.pl
4
# Module type   : Makefile system
5
# Compiler(s)   : ANSI C
6
# Environment(s): n/a
7
#
8
# Description:    Makefile for generating binflow
9
#
10
#.........................................................................#
11
 
12
die "Usage: Makefile.pl rootdir Makelib.pl\n"
13
    unless( $#ARGV+1 >= 2 );
14
require "$ARGV[1]";
15
 
16
# Build platform definitions ..
17
#
18
Platform( '*' );
19
AddFlags( '*', "-D_CONSOLE" );
20
AddFlags( '*', "-D_MBCS" );
21
AddFlags( '*', "-DWIN32" );
22
 
23
 
24
############################################################################
25
#   Define the source files
26
#
27
Src     ('*',  'binflow.c');
28
Prog    ('*',  'binflow', @OBJS );
29
 
30
#.............................................................................
31
#   Packaging definitions
32
#   Package the program as a JATS toolset extension
33
#
34
PackageProg  ( '*', @PROGS );
35
 
36
 
37
Src         ( '*', 'descpkg' );
38
PackageFile ( '*', 'descpkg' );
39
 
40
#.............................................................................
41
# Finally generate the makefile
42
#
43
MakefileGenerate();
44
 
45
#..  Successful termination
46
1;
47