Subversion Repositories DevTools

Rev

Rev 6914 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6914 dpurdie 1
#..
2
# Copyright (C) 1998-2000 ERG Transit Systems, All rights reserved
3
#
4
die "Usage: Makefile.pl rootdir Makelib.pl\n"
5
unless( $#ARGV+1 >= 2 );
6
require "$ARGV[1]";
7
 
8
# subdirectories to recurse
9
 
10
# target platforms
11
Platform( 'WIN32', '--OnlyProd' );
12
 
13
# build flags and paths
14
AddLibDir('*', '.');
15
 
16
# source files
17
Src( '*', 'attend.cc' );
18
Src( '*', 'Process.cc' );
19
Src( '*', 'Process.h' );
20
Src( '*', 'psapi.h' );
21
Src( '*', 'psapi.dll' );
22
 
23
# Programs to be made
24
Prog( '*', 'attend', @OBJS, '-LAdvapi32','-LPsapi' );
25
 
26
# Programs to be packaged
27
PackageProg( '*', 'attend' );
28
 
29
#--- Finally generate the makefile
30
MakefileGenerate();