#..
# Copyright (C) 1998-2000 ERG Transit Systems, All rights reserved
#
die "Usage: Makefile.pl rootdir Makelib.pl\n"
unless( $#ARGV+1 >= 2 );
require "$ARGV[1]";

# subdirectories to recurse

# target platforms
Platform( 'WIN32', '--OnlyProd' );

# build flags and paths
AddLibDir('*', '.');

# source files
Src( '*', 'attend.cc' );
Src( '*', 'Process.cc' );
Src( '*', 'Process.h' );
Src( '*', 'psapi.h' );
Src( '*', 'psapi.dll' );

# Programs to be made
Prog( '*', 'attend', @OBJS, '-LAdvapi32','-LPsapi' );

# Programs to be packaged
PackageProg( '*', 'attend' );

#--- Finally generate the makefile
MakefileGenerate();
