Subversion Repositories DevTools

Rev

Rev 227 | Rev 6177 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4995 dpurdie 1
# Copyright (c) VIX TECHNOLOGY (AUST) LTD
227 dpurdie 2
#
3
# Module name   : Makefile.pl
4
# Module type   : Makefile system
4995 dpurdie 5
# Environment(s): JATS
227 dpurdie 6
#
7
# Description:    makefile.pl template example
8
#
9
#.........................................................................#
10
 
11
die "Usage: Makefile.pl rootdir Makelib.pl\n"
12
    unless( $#ARGV+1 >= 2 );
13
require "$ARGV[1]";
14
 
15
#
16
# Build platform definitions ..
17
#
18
Platform( '*' );
19
 
20
############################################################################
21
#   Define the source files
22
#
23
Src        ( '*'    , "source1.c" );
24
Src        ( '*'    , "source2.c" );
25
 
26
#.............................................................................
27
# Packaging definitions
28
#
29
PackageHdr  ( '*', @CHDRS ,"--Strip" );
30
 
31
#..
32
#
33
PackageFile ( '*'   , 'descpkg' );
34
 
35
#.............................................................................
36
# Finally generate the makefile
37
#
38
MakefileGenerate();
39
 
40
#..  Successful termination
41
1;
42