Examples for xHARBOUR

Examples for xHARBOUR

Postby Vladimir Rudomanov » Thu Dec 01, 2005 3:58 am

I Study the examples for xHARBOUR. The Problems with assembly greater project. Is absent the examples buildx.bat for project , where several files.
Vladimir Rudomanov
 
Posts: 4
Joined: Tue Nov 29, 2005 5:33 am
Location: Russia

Postby Antonio Linares » Thu Dec 01, 2005 9:11 am

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
...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Thu Dec 01, 2005 9:17 am

You may also review fwh\makes directory working samples to use a Borland make or a Microsoft make instead of a batch file.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Examples for xHARBOUR

Postby Richard Chidiak » Thu Dec 01, 2005 10:43 am

Vladimir 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.


Vladimir

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)

......
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: Examples for xHARBOUR

Postby Dima » Thu Dec 01, 2005 6:42 pm

Жаль нет ветки на русском языке по FWH.
Sorry за Offtop.
Dima
 
Posts: 5
Joined: Thu Nov 10, 2005 6:40 pm

Re: Examples for xHARBOUR

Postby Vladimir Rudomanov » Fri Dec 02, 2005 7:56 am

Dima wrote:Жаль нет ветки на русском языке по FWH.
Sorry за Offtop.

Пиши по-русски orsv04@mail.ru
Vladimir Rudomanov
 
Posts: 4
Joined: Tue Nov 29, 2005 5:33 am
Location: Russia

Re: Examples for xHARBOUR

Postby Rimantas » Sun Dec 04, 2005 8:26 am

Vladimir Rudomanov wrote:
Dima wrote:Жаль нет ветки на русском языке по FWH.
Sorry за Offtop.

Пиши по-русски orsv04@mail.ru


Ну можеть быть и я помогу .. :-) . Хоть мой родной язык литовский , я ещё успел прожить 24 лет при союзе , так что не теснаяйтесь , пишите , будет радость чем нибудь помочь .

С уважением , Римантас .
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 64 guests