Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
6800 dpurdie 1
# Copyright (C) 1998-2004 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.pl template example
9
#
10
#.........................................................................#
11
 
12
require "$ARGV[1]";
13
 
14
# Build platform definitions ..
15
#
16
Platform( '*' );
17
 
18
############################################################################
19
#   Define the source files
20
#
21
AddFlags   ( '*' ,'-DUNICODE');
22
Src        ( '*' , "gunzip.cpp" );
23
 
24
#
25
#   Build the program
26
 
27
Prog       ( '*', "gunzip", "gunzip" );
28
 
29
#.............................................................................
30
# Packaging definitions
31
#
32
PackageProg ( '*'   , @PROGS , '--Dir=BIN.$(GBE_MACHTYPE)', '--Extras=none');
33
 
34
#.............................................................................
35
# Finally generate the makefile
36
#
37
MakefileGenerate();
38
 
39
#..  Successful termination
40
1;
41