Examples for xHARBOUR
-
- Posts: 4
- Joined: Tue Nov 29, 2005 5:33 am
- Location: Russia
Examples for xHARBOUR
I Study the examples for xHARBOUR. The Problems with assembly greater project. Is absent the examples buildx.bat for project , where several files.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Vladimir,
You may easily modify samples\buildx.bat to use more than one PRG:
%hdir%\bin\harbour %1 /n /i..\include;%hdir%\include /w /p %2 %3 > clip.log
@type clip.log
IF ERRORLEVEL 1 PAUSE
IF ERRORLEVEL 1 GOTO EXIT
echo -O2 -e%1.exe -I%hdir%\include %1.c > b32.bc
%bcdir%\bin\bcc32 -M -c -v @b32.bc
:ENDCOMPILE
%hdir%\bin\harbour another /n /i..\include;%hdir%\include /w /p %2 %3 > clip.log
@type clip.log
IF ERRORLEVEL 1 PAUSE
IF ERRORLEVEL 1 GOTO EXIT
echo -O2 -eanother.exe -I%hdir%\include another.c > b32.bc
%bcdir%\bin\bcc32 -M -c -v @b32.bc
:ENDCOMPILE
...
echo c0w32.obj + > b32.bc
echo %1.obj another.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
...
You may easily modify samples\buildx.bat to use more than one PRG:
%hdir%\bin\harbour %1 /n /i..\include;%hdir%\include /w /p %2 %3 > clip.log
@type clip.log
IF ERRORLEVEL 1 PAUSE
IF ERRORLEVEL 1 GOTO EXIT
echo -O2 -e%1.exe -I%hdir%\include %1.c > b32.bc
%bcdir%\bin\bcc32 -M -c -v @b32.bc
:ENDCOMPILE
%hdir%\bin\harbour another /n /i..\include;%hdir%\include /w /p %2 %3 > clip.log
@type clip.log
IF ERRORLEVEL 1 PAUSE
IF ERRORLEVEL 1 GOTO EXIT
echo -O2 -eanother.exe -I%hdir%\include another.c > b32.bc
%bcdir%\bin\bcc32 -M -c -v @b32.bc
:ENDCOMPILE
...
echo c0w32.obj + > b32.bc
echo %1.obj another.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
...
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Richard Chidiak
- Posts: 946
- Joined: Thu Oct 06, 2005 7:05 pm
- Location: France
- Contact:
Re: Examples for xHARBOUR
VladimirVladimir Rudomanov wrote:I Study the examples for xHARBOUR. The Problems with assembly greater project. Is absent the examples buildx.bat for project , where several files.
This is a working sample
# Paths for dependent files ##################################################
.path.prg = $(APP_PRG_DIR)
.path.c = $(APP_OBJ_DIR) # add reference to C intermediate code
.path.obj = $(APP_OBJ_DIR)
# Application PRG files (your PRG files go here) #############################
APP_RC_LIST = \
CBATIMAN.rc \
CBATI.rc \
CBATICOM.rc \
CBATISAV.rc \
CBATIVEH.rc
APP_PRG_LIST = \
CBATIWIN.prg \
CBATITEC.prg \
CBATIRTE.prg \
COMPTOIR.prg
# Contruction of the rest dependency lists ###################################
APP_PRGS = $(APP_PRG_LIST)
APP_OBJS = $(APP_PRG_LIST:.prg=.obj)
APP_RC = $(APP_RC_LIST)
APP_RES = $(APP_RC_LIST:.rc=.res)
......
Re: Examples for xHARBOUR
Жаль нет ветки на русском языке по FWH.
Sorry за Offtop.
Sorry за Offtop.
-
- Posts: 4
- Joined: Tue Nov 29, 2005 5:33 am
- Location: Russia
Re: Examples for xHARBOUR
Пиши по-русски orsv04@mail.ruDima wrote:Жаль нет ветки на русском языке по FWH.
Sorry за Offtop.
Re: Examples for xHARBOUR
Ну можеть быть и я помогу .. . Хоть мой родной язык литовский , я ещё успел прожить 24 лет при союзе , так что не теснаяйтесь , пишите , будет радость чем нибудь помочь .Vladimir Rudomanov wrote:Пиши по-русски orsv04@mail.ruDima wrote:Жаль нет ветки на русском языке по FWH.
Sorry за Offtop.
С уважением , Римантас .
Rimantas U.