Blame | Last modification | View Log | RSS feed
#..# Module name: Makelib.pl# Module type: Makefile system## Description: CMDFILE##...........................................................................# exec build system#die "Usage: Makefile.pl rootdir Makelib.pl\n"unless( $#ARGV+1 >= 2 );require "$ARGV[1]";# build platform definitions ..#..Platform( '*' );#.............................................................................# Platforms definitions## Any source/headers etc#..Src( '*', 'cmdfile.c' );Src( '*', 'longopt.c' );Src( '*', 'getopt.c' );Src( '*', 'macro.c' );Src( '*', 'util.c' );Src( '*', 'vpath.c' );Src( '*', 'realpath.c' );Src( '*', 'shtpath.c' );Src( '*', 'dosify.c' );Src( '*', 'mktemp.c' );Src( '*', 'gcc.c' );Src( '*', 'url.c' );AddDir ( 'WIN32', '../../LIBWIN32');Src ( 'WIN32', 'dirent.c' );# Applications to be built#..Prog( '*', 'cmdfile', @OBJS );#.............................................................................# Finally generate the makefile#..MakefileGenerate();