FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour make file for projects
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
make file for projects
Posted: Sun Nov 25, 2012 03:03 PM
Hi ,

After a long period , I returned to old project with Fwh + harbour/xHarbour + Bcc ( 5.8 or 6.3 ) . I have fwh 11.11 . Can you advice with which - harbour or xharbour - it's better to work at this time ? With old xharbour ( 0.99.7 ) I was working through .bc , in which direct all prgs , libs and etc . Now tried to do he same with new xharbour ( 1.2.1 ) . It return error :
ENGEL.PRG(1) Error E0007 Unterminated string: 'Ⱦ'
Please help , where I'm wrong ( publiching here bc file ) :
Code (fw): Select all Collapse
#BCC
VERSION=BCB.01
!ifndef BCB
BCB = \bcc63
!endif

!ifndef BHC
BHC = \a\xhrb
endif

RECURSE= NO

COMPRESS = NO
EXTERNALLIB = NO
XFWH = YES
FILESTOADD = 6
WARNINGLEVEL =  0
USERDEFINE =
USERINCLUDE =
FWH = \fwh
GUI = YES
MT = NO
OBJ = obj
PROJECT = engel.exe $(PR)
OBJFILES =  $(OBJ)\ENGEL.obj $(OBJ)\TEXCELS.obj $(OBJ)\FUNC.obj $(OBJ)\FUNC_DSG.obj $(OBJ)\FUNC_DT.obj $(OBJ)\TARRAY.obj $(OB)
PRGFILES =  ENGEL.PRG TEXCELS.PRG FUNC.PRG FUNC_DSG.PRG FUNC_DT.PRG TARRAY.PRG $(PS)
OBJCFILES = $(OBC)
CFILES = $(CF)
RESFILES = engel
RESDEPEN = engel
TOPMODULE = engel.prg
LIBFILES = \fwh\lib\fivehx.lib \fwh\lib\fivehc.lib rtl.lib vm.lib gtgui.lib lang.lib macro.lib rdd.lib dbfntx.lib dbfcdx.lib dbffpt.lib hbsix.lib common.lib pp.lib codepage.lib pcrepos.lib ct.lib
DEFFILE =
HARBOURFLAGS =
CFLAG1 =  -OS $(CFLAGS) -d -L\xhrb\lib;\fwh\lib -c -I -D__FLAT__
CFLAG2 =  -I\xhrb\include;\bcc63\include
RFLAGS =
LFLAGS = -L\bcc63\lib\obj;\bcc63\lib;\xhrb\lib -Gn -M -m -s -Tpe -aa -L\xhrb\lib
IFLAGS =
LINKER = ilink32

ALLOBJ = \bcc63\lib\c0w32.obj $(OBJFILES) $(OBJCFILES)
ALLRES = $(RESDEPEN)
ALLLIB = $(LIBFILES) \bcc63\lib\import32.lib \bcc63\lib\cw32.lib \bcc63\lib\psdk\nddeapi.lib \bcc63\lib\psdk\msimg32.lib \bcc63\lib\psdk\rasapi32.lib
.autodepend

#COMMANDS
.cpp.obj:
\bcc63\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $**

.c.obj:
\bcc63\BIN\bcc32 -I\xhrb\include $(CFLAG1) $(CFLAG2) -o$* $**

.prg.obj:
\xhrb\bin\harbour -n -go -I\xhrb\include $(HARBOURFLAGS) -I\fwh\include -o$* $**

.rc.res:
\bcc63\BIN\brcc32 $(RFLAGS) $<

#BUILD

$(PROJECT): $(CFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
    \bcc63\BIN\ilink32 @&&!
    $(LFLAGS) +
    $(ALLOBJ), +
    $(PROJECT),, +
    $(ALLLIB), +
    $(DEFFILE), +
    $(ALLRES)
!


Many thanks in advance ! With best regards !
Rimantas U.
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: make file for projects
Posted: Sun Nov 25, 2012 05:56 PM

Please try to reduce the code to the minimum yet showing the problem.

EMG

Posts: 166
Joined: Wed Aug 29, 2012 08:25 AM
Re: make file for projects
Posted: Mon Nov 26, 2012 08:17 PM

Rimantas,

I have only one advice : try xmate . You need only one env-file . switching between harbour or xharbour is very easy.

Frank

test

Continue the discussion