Commit | Line | Data |
---|---|---|
18f68570 VK |
1 | @echo off |
2 | rem | |
3 | rem edit ARG-xxx variable to reflect your system and run | |
4 | rem compile.bat [target] [additional parameters for nmake] | |
5 | rem | |
6 | ||
7 | set ARG-1=PV= | |
8 | set ARG-2=INST_VER= | |
8f33b42a | 9 | set ARG-3=INSTALL_ROOT=\Storage Card\perl58m |
18f68570 VK |
10 | set ARG-4=WCEROOT=%SDKROOT% |
11 | set ARG-5=CEPATH=%WCEROOT% | |
12 | set ARG-6=CELIBDLLDIR=d:\personal\pocketPC\celib-palm-3.0 | |
13 | set ARG-7=CECONSOLEDIR=d:\personal\pocketPC\w32console | |
14 | ||
15 | rem Only for WIN2000 | |
16 | set ARG-8=YES=/y | |
17 | ||
18 | set ARG-9=CFG=RELEASE | |
2e64bfdb JH |
19 | |
20 | rem | |
21 | rem uncomment one of following lines that matches your configuration | |
22 | ||
23 | rem set ARG-10=MACHINE=wince-mips-pocket-wce300 | |
24 | rem set ARG-10=MACHINE=wince-arm-hpc-wce300 | |
25 | rem set ARG-10=MACHINE=wince-arm-hpc-wce211 | |
26 | rem set ARG-10=MACHINE=wince-sh3-hpc-wce211 | |
27 | rem set ARG-10=MACHINE=wince-mips-hpc-wce211 | |
28 | rem set ARG-10=MACHINE=wince-sh3-hpc-wce200 | |
29 | rem set ARG-10=MACHINE=wince-mips-hpc-wce200 | |
30 | rem set ARG-10=MACHINE=wince-arm-pocket-wce300 | |
31 | rem set ARG-10=MACHINE=wince-mips-pocket-wce300 | |
32 | rem set ARG-10=MACHINE=wince-sh3-pocket-wce300 | |
33 | rem set ARG-10=MACHINE=wince-x86em-pocket-wce300 | |
34 | rem set ARG-10=MACHINE=wince-mips-palm-wce211 | |
35 | rem set ARG-10=MACHINE=wince-sh3-palm-wce211 | |
36 | rem set ARG-10=MACHINE=wince-x86em-palm-wce211 | |
37 | ||
18f68570 VK |
38 | set ARG-11=PERLCEDIR=$(MAKEDIR) |
39 | set ARG-12=MSVCDIR=D:\MSVStudio\VC98 | |
40 | set ARG-13=CECOPY=$(HPERL) -I$(PERLCEDIR)\lib $(PERLCEDIR)\comp.pl --copy | |
18f68570 | 41 | |
2e64bfdb | 42 | nmake -f Makefile.ce "%ARG-1%" "%ARG-2%" "%ARG-3%" "%ARG-4%" "%ARG-5%" "%ARG-6%" "%ARG-7%" "%ARG-8%" "%ARG-9%" "%ARG-10%" "%ARG-11%" "%ARG-12%" "%ARG-13%" %1 %2 %3 %4 %5 %6 %7 %8 %9 |