make file for projects

make file for projects

Postby Rimantas » Sun Nov 25, 2012 3: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: Select all  Expand view

#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.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Re: make file for projects

Postby Enrico Maria Giordano » Sun Nov 25, 2012 5:56 pm

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8713
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: make file for projects

Postby Franklin Demont » Mon Nov 26, 2012 8: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
Franklin Demont
 
Posts: 166
Joined: Wed Aug 29, 2012 8:25 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 93 guests