Ejemplo Buildh.bat compilar varios prgs.

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby karinha » Tue May 14, 2019 2:03 pm

Code: Select all  Expand view  RUN

echo $(BCDIR)\lib\psdk\rasapi32.lib + >> b32.bc
 
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7848
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby leandro » Tue May 14, 2019 3:26 pm

karinha, buenos días muchas gracias por responder.

Realice los cambios que mencionaste pero aun no funciona, al momento de compilar, solo arroja warning, adjunto el reporte.

Code: Select all  Expand view  RUN


C:\xpmake>crear

C:\xpmake>rem set path=C:\BCC73\BIN\

C:\xpmake>rem make -fcrear.mak

C:\xpmake>if not exist obj md obj

C:\xpmake>c:\bcc73\bin\MAKE -fcrear.mak
MAKE Version 5.41  Copyright (c) 1987, 2014 Embarcadero Technologies, Inc.
        c:\xhar1903\bin\harbour .\xp.prg /N /W /Oobj\ /Ic:\fwh1903\include;c:\xhar1903\include >> comp.log
.\xp.prg(49) Warning W0001  Ambiguous reference: 'VGSUBTO'
.\xp.prg(49) Warning W0001  Ambiguous reference: 'VGIMPUE'


.\xp.prg(1434) Warning W0001  Ambiguous reference: 'VCAA'
.\xp.prg(1434) Warning W0001  Ambiguous reference: 'VTOT'
.\xp.prg(1434) Warning W0001  Ambiguous reference: 'VCAN'
.\xp.prg(1441) Warning W0001  Ambiguous reference: 'I'
.\xp.prg(1441) Warning W0001  Ambiguous reference: 'I'
.\xp.prg(1443) Warning W0001  Ambiguous reference: 'I'
.\xp.prg(1444) Warning W0001  Ambiguous reference: 'I'
.\xp.prg(1444) Warning W0001  Ambiguous reference: 'I'
.\xp.prg(1453) Warning W0001  Ambiguous reference: 'I'
.\xp.prg(1453) Warning W0001  Ambiguous reference: 'I'
.\xp.prg(1455) Warning W0001  Ambiguous reference: 'I'
.\xp.prg(1456) Warning W0001  Ambiguous reference: 'I'

....

.\xp.prg(3252) Warning W0001  Ambiguous reference: 'VTER'
.\xp.prg(3255) Warning W0001  Ambiguous reference: 'VTER'
.\xp.prg(5945) Warning W0001  Ambiguous reference: 'OVRD'
.\xp.prg(5946) Warning W0001  Ambiguous reference: 'OVRD'
.\xp.prg(5949) Warning W0001  Ambiguous reference: 'OVRD'
.\xp.prg(5949) Warning W0001  Ambiguous reference: 'OVRD'
.\xp.prg(5952) Warning W0001  Ambiguous reference: 'OVRD'
.\xp.prg(5954) Warning W0006  Procedure returns value
.\xp.prg(5955) Warning W0030  STATIC Function 'DAPEDIDO' defined but never used
.\xp.prg(5955) Warning W0030  STATIC Function 'SALVAPEDIDO' defined but never used
        c:\bcc73\bin\bcc32 -c -tWM -Ic:\xhar1903\include -oobj\xp obj\xp.c
Embarcadero C++ 7.30 for Win32 Copyright (c) 1993-2017 Embarcadero Technologies, Inc.
obj\xp.c:
        c:\xhar1903\bin\harbour .\Tword.prg /N /W /Oobj\ /Ic:\fwh1903\include;c:\xhar1903\include >> comp.log
.\Tword.prg(158) Warning W0001  Ambiguous reference: 'NNPOS'
.\Tword.prg(223) Warning W0002  Ambiguous reference, assuming memvar: 'ALINEAS'
.\Tword.prg(232) Warning W0005  RETURN statement with no return value in function
.\Tword.prg(277) Warning W0001  Ambiguous reference: 'OCUADRO'
.\Tword.prg(278) Warning W0001  Ambiguous reference: 'OCUADRO'
.\Tword.prg(711) Warning W0001  Ambiguous reference: 'OTEXT'
.\Tword.prg(780) Warning W0005  RETURN statement with no return value in function
.\Tword.prg(816) Warning W0005  RETURN statement with no return value in function
.\Tword.prg(894) Warning W0001  Ambiguous reference: 'OFILLCOLOR'
.\Tword.prg(895) Warning W0001  Ambiguous reference: 'OFILLCOLOR'
.\Tword.prg(897) Warning W0001  Ambiguous reference: 'OFILLCOLOR'
.\Tword.prg(898) Warning W0001  Ambiguous reference: 'OFILLCOLOR'
.\Tword.prg(928) Warning W0002  Ambiguous reference, assuming memvar: 'ALINEAS'
.\Tword.prg(942) Warning W0001  Ambiguous reference: 'OPARAGRAPH'
.\Tword.prg(943) Warning W0001  Ambiguous reference: 'OPARAGRAPH'
.\Tword.prg(966) Warning W0001  Ambiguous reference: 'LCORTA'
.\Tword.prg(967) Warning W0001  Ambiguous reference: 'CTEXTO2'
.\Tword.prg(968) Warning W0001  Ambiguous reference: 'LCORTA'
.\Tword.prg(968) Warning W0001  Ambiguous reference: 'CTEXTO2'
.\Tword.prg(969) Warning W0001  Ambiguous reference: 'CTEXTO2'
.\Tword.prg(969) Warning W0001  Ambiguous reference: 'CTEXTO2'
.\Tword.prg(970) Warning W0001  Ambiguous reference: 'CTEXTO2'
.\Tword.prg(972) Warning W0001  Ambiguous reference: 'LCORTA'
.\Tword.prg(975) Warning W0001  Ambiguous reference: 'CTEXTO2'
.\Tword.prg(1023) Warning W0001  Ambiguous reference: 'SAL'
.\Tword.prg(1024) Warning W0001  Ambiguous reference: 'SAL'
.\Tword.prg(1025) Warning W0001  Ambiguous reference: 'SAL'
.\Tword.prg(1025) Warning W0001  Ambiguous reference: 'SAL'
.\Tword.prg(1025) Warning W0001  Ambiguous reference: 'SAL'
.\Tword.prg(1026) Warning W0001  Ambiguous reference: 'SAL'
.\Tword.prg(1026) Warning W0001  Ambiguous reference: 'SAL'
.\Tword.prg(1026) Warning W0001  Ambiguous reference: 'SAL'
.\Tword.prg(1026) Warning W0001  Ambiguous reference: 'SAL'
.\Tword.prg(1030) Warning W0001  Ambiguous reference: 'SAL'
.\Tword.prg(1134) Warning W0001  Ambiguous reference: 'OCOLUMNS'
.\Tword.prg(1135) Warning W0001  Ambiguous reference: 'OSELECTION'
.\Tword.prg(1136) Warning W0001  Ambiguous reference: 'OSELECTION'
.\Tword.prg(1136) Warning W0001  Ambiguous reference: 'OFONT'
.\Tword.prg(1137) Warning W0001  Ambiguous reference: 'OFONT'
.\Tword.prg(1138) Warning W0001  Ambiguous reference: 'OFONT'
.\Tword.prg(1139) Warning W0001  Ambiguous reference: 'OCOLUMNS'
.\Tword.prg(1144) Warning W0001  Ambiguous reference: 'OSELECTION'
.\Tword.prg(1145) Warning W0001  Ambiguous reference: 'OSELECTION'
.\Tword.prg(1145) Warning W0001  Ambiguous reference: 'OFONT'
.\Tword.prg(1146) Warning W0001  Ambiguous reference: 'OFONT'
.\Tword.prg(1147) Warning W0001  Ambiguous reference: 'OFONT'
.\Tword.prg(1151) Warning W0001  Ambiguous reference: 'OSELECTION'
.\Tword.prg(1151) Warning W0001  Ambiguous reference: 'OPARAGRAPH'
.\Tword.prg(1152) Warning W0001  Ambiguous reference: 'OPARAGRAPH'
.\Tword.prg(1173) Warning W0001  Ambiguous reference: 'OWORD'
.\Tword.prg(1176) Warning W0001  Ambiguous reference: 'MSOBARFLOTING'
.\Tword.prg(1279) Warning W0001  Ambiguous reference: 'NI'
.\Tword.prg(1280) Warning W0030  STATIC Function 'SSWAP' defined but never used
        c:\bcc73\bin\bcc32 -c -tWM -Ic:\xhar1903\include -oobj\Tword obj\Tword.c
Embarcadero C++ 7.30 for Win32 Copyright (c) 1993-2017 Embarcadero Technologies, Inc.
obj\Tword.c:
        c:\xhar1903\bin\harbour .\lyma.prg /N /W /Oobj\ /Ic:\fwh1903\include;c:\xhar1903\include >> comp.log
        c:\bcc73\bin\bcc32 -c -tWM -Ic:\xhar1903\include -oobj\lyma obj\lyma.c
Embarcadero C++ 7.30 for Win32 Copyright (c) 1993-2017 Embarcadero Technologies, Inc.
obj\lyma.c:
        c:\xhar1903\bin\harbour .\aimpo.prg /N /W /Oobj\ /Ic:\fwh1903\include;c:\xhar1903\include >> comp.log
.\aimpo.prg(75) Warning W0001  Ambiguous reference: 'OFONT'
.\aimpo.prg(76) Warning W0001  Ambiguous reference: 'OFONT1'
.\aimpo.prg(102) Warning W0001  Ambiguous reference: 'OFONT1'
.\aimpo.prg(113) Warning W0001  Ambiguous reference: 'OFONT'
.\aimpo.prg(144) Warning W0001  Ambiguous reference: 'ESTRUCTURA'
.\aimpo.prg(167) Warning W0001  Ambiguous reference: 'ESTRUCTURA'
.\aimpo.prg(168) Warning W0001  Ambiguous reference: 'ESTRUCTURA'
.\aimpo.prg(171) Warning W0002  Ambiguous reference, assuming memvar: 'ESTRUCTURA'
.\aimpo.prg(172) Warning W0002  Ambiguous reference, assuming memvar: 'ESTRUCTURA'
.\aimpo.prg(173) Warning W0002  Ambiguous reference, assuming memvar: 'ESTRUCTURA'
.\aimpo.prg(283) Warning W0001  Ambiguous reference: 'VRT'
.\aimpo.prg(284) Warning W0002  Ambiguous reference, assuming memvar: 'VRT'
.\aimpo.prg(285) Warning W0002  Ambiguous reference, assuming memvar: 'VRT'
.\aimpo.prg(303) Warning W0001  Ambiguous reference: 'I'
.\aimpo.prg(303) Warning W0001  Ambiguous reference: 'BANDERA'
.\aimpo.prg(306) Warning W0001  Ambiguous reference: 'I'
.\aimpo.prg(306) Warning W0001  Ambiguous reference: 'I'
.\aimpo.prg(307) Warning W0001  Ambiguous reference: 'I'
.\aimpo.prg(307) Warning W0001  Ambiguous reference: 'BANDERA'
.\aimpo.prg(308) Warning W0001  Ambiguous reference: 'I'
.\aimpo.prg(310) Warning W0001  Ambiguous reference: 'BANDERA'
.\aimpo.prg(310) Warning W0001  Ambiguous reference: 'BANDERA'
.\aimpo.prg(311) Warning W0001  Ambiguous reference: 'BANDERA'
.\aimpo.prg(312) Warning W0001  Ambiguous reference: 'I'
.\aimpo.prg(315) Warning W0001  Ambiguous reference: 'I'
.\aimpo.prg(315) Warning W0001  Ambiguous reference: 'I'
.\aimpo.prg(352) Warning W0001  Ambiguous reference: 'NTOTROWCOUNT'
.\aimpo.prg(354) Warning W0001  Ambiguous reference: 'NTOTROWCOUNT'
.\aimpo.prg(356) Warning W0001  Ambiguous reference: 'OCAD'
.\aimpo.prg(357) Warning W0001  Ambiguous reference: 'OCAD'
.\aimpo.prg(361) Warning W0001  Ambiguous reference: 'OCAD'
.\aimpo.prg(364) Warning W0001  Ambiguous reference: 'OCAD'
        c:\bcc73\bin\bcc32 -c -tWM -Ic:\xhar1903\include -oobj\aimpo obj\aimpo.c
Embarcadero C++ 7.30 for Win32 Copyright (c) 1993-2017 Embarcadero Technologies, Inc.
obj\aimpo.c:
        c:\xhar1903\bin\harbour .\asql.prg /N /W /Oobj\ /Ic:\fwh1903\include;c:\xhar1903\include >> comp.log
c:\fwh1903\include\adodef.ch(6) Warning W0001  Redefinition or duplicate definition of #define adLockUnspecified
c:\fwh1903\include\adodef.ch(7) Warning W0001  Redefinition or duplicate definition of #define adLockReadOnly
c:\fwh1903\include\adodef.ch(8) Warning W0001  Redefinition or duplicate definition of #define adLockPessimistic
c:\fwh1903\include\adodef.ch(9) Warning W0001  Redefinition or duplicate definition of #define adLockOptimistic
c:\fwh1903\include\adodef.ch(10) Warning W0001  Redefinition or duplicate definition of #define adLockBatchOptimistic
c:\fwh1903\include\adodef.ch(13) Warning W0001  Redefinition or duplicate definition of #define adOpenUnspecified
c:\fwh1903\include\adodef.ch(14) Warning W0001  Redefinition or duplicate definition of #define adOpenForwardOnly
c:\fwh1903\include\adodef.ch(15) Warning W0001  Redefinition or duplicate definition of #define adOpenKeyset
c:\fwh1903\include\adodef.ch(16) Warning W0001  Redefinition or duplicate definition of #define adOpenDynamic
c:\fwh1903\include\adodef.ch(17) Warning W0001  Redefinition or duplicate definition of #define adOpenStatic
c:\fwh1903\include\adodef.ch(20) Warning W0001  Redefinition or duplicate definition of #define adOpenAsync
c:\fwh1903\include\adodef.ch(21) Warning W0001  Redefinition or duplicate definition of #define adDelayFetchStream
c:\fwh1903\include\adodef.ch(22) Warning W0001  Redefinition or duplicate definition of #define adDelayFetchFields
c:\fwh1903\include\adodef.ch(23) Warning W0001  Redefinition or duplicate definition of #define adOpenExecuteCommand
c:\fwh1903\include\adodef.ch(24) Warning W0001  Redefinition or duplicate definition of #define adOpenOutput
c:\fwh1903\include\adodef.ch(28) Warning W0001  Redefinition or duplicate definition of #define adUseClient
c:\fwh1903\include\adodef.ch(29) Warning W0001  Redefinition or duplicate definition of #define adUseServer
c:\fwh1903\include\adodef.ch(32) Warning W0001  Redefinition or duplicate definition of #define adCmdUnspecified
c:\fwh1903\include\adodef.ch(33) Warning W0001  Redefinition or duplicate definition of #define adCmdUnknown
c:\fwh1903\include\adodef.ch(34) Warning W0001  Redefinition or duplicate definition of #define adCmdText
c:\fwh1903\include\adodef.ch(35) Warning W0001  Redefinition or duplicate definition of #define adCmdTable
c:\fwh1903\include\adodef.ch(36) Warning W0001  Redefinition or duplicate definition of #define adCmdStoredProc
c:\fwh1903\include\adodef.ch(37) Warning W0001  Redefinition or duplicate definition of #define adCmdFile
c:\fwh1903\include\adodef.ch(38) Warning W0001  Redefinition or duplicate definition of #define adCmdTableDirect
c:\fwh1903\include\adodef.ch(40) Warning W0001  Redefinition or duplicate definition of #define adHoldRecords
c:\fwh1903\include\adodef.ch(41) Warning W0001  Redefinition or duplicate definition of #define adMovePrevious
c:\fwh1903\include\adodef.ch(42) Warning W0001  Redefinition or duplicate definition of #define adAddNew
c:\fwh1903\include\adodef.ch(43) Warning W0001  Redefinition or duplicate definition of #define adDelete
c:\fwh1903\include\adodef.ch(44) Warning W0001  Redefinition or duplicate definition of #define adUpdate
c:\fwh1903\include\adodef.ch(45) Warning W0001  Redefinition or duplicate definition of #define adBookmark
c:\fwh1903\include\adodef.ch(46) Warning W0001  Redefinition or duplicate definition of #define adApproxPosition
c:\fwh1903\include\adodef.ch(47) Warning W0001  Redefinition or duplicate definition of #define adUpdateBatch
c:\fwh1903\include\adodef.ch(48) Warning W0001  Redefinition or duplicate definition of #define adResync
c:\fwh1903\include\adodef.ch(49) Warning W0001  Redefinition or duplicate definition of #define adNotify
c:\fwh1903\include\adodef.ch(50) Warning W0001  Redefinition or duplicate definition of #define adFind
c:\fwh1903\include\adodef.ch(51) Warning W0001  Redefinition or duplicate definition of #define adSeek
c:\fwh1903\include\adodef.ch(52) Warning W0001  Redefinition or duplicate definition of #define adIndex
c:\fwh1903\include\adodef.ch(56) Warning W0001  Redefinition or duplicate definition of #define adModeUnknown
c:\fwh1903\include\adodef.ch(57) Warning W0001  Redefinition or duplicate definition of #define adModeRead
c:\fwh1903\include\adodef.ch(58) Warning W0001  Redefinition or duplicate definition of #define adModeWrite
c:\fwh1903\include\adodef.ch(59) Warning W0001  Redefinition or duplicate definition of #define adModeReadWrite
c:\fwh1903\include\adodef.ch(60) Warning W0001  Redefinition or duplicate definition of #define adModeShareDenyRead
c:\fwh1903\include\adodef.ch(61) Warning W0001  Redefinition or duplicate definition of #define adModeShareDenyWrite
c:\fwh1903\include\adodef.ch(62) Warning W0001  Redefinition or duplicate definition of #define adModeShareExclusive
c:\fwh1903\include\adodef.ch(63) Warning W0001  Redefinition or duplicate definition of #define adModeShareDenyNone
c:\fwh1903\include\adodef.ch(66) Warning W0001  Redefinition or duplicate definition of #define adPersistADTG
c:\fwh1903\include\adodef.ch(67) Warning W0001  Redefinition or duplicate definition of #define adPersistXML
c:\fwh1903\include\adodef.ch(71) Warning W0001  Redefinition or duplicate definition of #define adEmpty
c:\fwh1903\include\adodef.ch(72) Warning W0001  Redefinition or duplicate definition of #define adTinyInt
c:\fwh1903\include\adodef.ch(73) Warning W0001  Redefinition or duplicate definition of #define adSmallInt
c:\fwh1903\include\adodef.ch(74) Warning W0001  Redefinition or duplicate definition of #define adInteger
c:\fwh1903\include\adodef.ch(75) Warning W0001  Redefinition or duplicate definition of #define adBigInt
c:\fwh1903\include\adodef.ch(76) Warning W0001  Redefinition or duplicate definition of #define adUnsignedTinyInt
c:\fwh1903\include\adodef.ch(77) Warning W0001  Redefinition or duplicate definition of #define adUnsignedSmallInt
c:\fwh1903\include\adodef.ch(78) Warning W0001  Redefinition or duplicate definition of #define adUnsignedInt
c:\fwh1903\include\adodef.ch(79) Warning W0001  Redefinition or duplicate definition of #define adUnsignedBigInt
c:\fwh1903\include\adodef.ch(80) Warning W0001  Redefinition or duplicate definition of #define adSingle
c:\fwh1903\include\adodef.ch(81) Warning W0001  Redefinition or duplicate definition of #define adDouble
c:\fwh1903\include\adodef.ch(82) Warning W0001  Redefinition or duplicate definition of #define adCurrency
c:\fwh1903\include\adodef.ch(83) Warning W0001  Redefinition or duplicate definition of #define adDecimal
c:\fwh1903\include\adodef.ch(84) Warning W0001  Redefinition or duplicate definition of #define adNumeric
c:\fwh1903\include\adodef.ch(85) Warning W0001  Redefinition or duplicate definition of #define adBoolean
c:\fwh1903\include\adodef.ch(86) Warning W0001  Redefinition or duplicate definition of #define adError
c:\fwh1903\include\adodef.ch(87) Warning W0001  Redefinition or duplicate definition of #define adUserDefined
c:\fwh1903\include\adodef.ch(88) Warning W0001  Redefinition or duplicate definition of #define adVariant
c:\fwh1903\include\adodef.ch(89) Warning W0001  Redefinition or duplicate definition of #define adIDispatch
c:\fwh1903\include\adodef.ch(90) Warning W0001  Redefinition or duplicate definition of #define adIUnknown
c:\fwh1903\include\adodef.ch(91) Warning W0001  Redefinition or duplicate definition of #define adGUID
c:\fwh1903\include\adodef.ch(92) Warning W0001  Redefinition or duplicate definition of #define adDate
c:\fwh1903\include\adodef.ch(93) Warning W0001  Redefinition or duplicate definition of #define adDBDate
c:\fwh1903\include\adodef.ch(94) Warning W0001  Redefinition or duplicate definition of #define adDBTime
c:\fwh1903\include\adodef.ch(95) Warning W0001  Redefinition or duplicate definition of #define adDBTimeStamp
c:\fwh1903\include\adodef.ch(96) Warning W0001  Redefinition or duplicate definition of #define adBSTR
c:\fwh1903\include\adodef.ch(97) Warning W0001  Redefinition or duplicate definition of #define adChar
c:\fwh1903\include\adodef.ch(98) Warning W0001  Redefinition or duplicate definition of #define adVarChar
c:\fwh1903\include\adodef.ch(99) Warning W0001  Redefinition or duplicate definition of #define adLongVarChar
c:\fwh1903\include\adodef.ch(100) Warning W0001  Redefinition or duplicate definition of #define adWChar
c:\fwh1903\include\adodef.ch(101) Warning W0001  Redefinition or duplicate definition of #define adVarWChar
c:\fwh1903\include\adodef.ch(102) Warning W0001  Redefinition or duplicate definition of #define adLongVarWChar
c:\fwh1903\include\adodef.ch(103) Warning W0001  Redefinition or duplicate definition of #define adBinary
c:\fwh1903\include\adodef.ch(104) Warning W0001  Redefinition or duplicate definition of #define adVarBinary
c:\fwh1903\include\adodef.ch(105) Warning W0001  Redefinition or duplicate definition of #define adLongVarBinary
c:\fwh1903\include\adodef.ch(106) Warning W0001  Redefinition or duplicate definition of #define adChapter
c:\fwh1903\include\adodef.ch(107) Warning W0001  Redefinition or duplicate definition of #define adFileTime
c:\fwh1903\include\adodef.ch(109) Warning W0001  Redefinition or duplicate definition of #define adPropVariant
c:\fwh1903\include\adodef.ch(110) Warning W0001  Redefinition or duplicate definition of #define adVarNumeric
c:\fwh1903\include\adodef.ch(112) Warning W0001  Redefinition or duplicate definition of #define adArray
c:\fwh1903\include\adodef.ch(115) Warning W0001  Redefinition or duplicate definition of #define adBookmarkCurrent
c:\fwh1903\include\adodef.ch(116) Warning W0001  Redefinition or duplicate definition of #define adBookmarkFirst
c:\fwh1903\include\adodef.ch(117) Warning W0001  Redefinition or duplicate definition of #define adBookmarkLast
c:\fwh1903\include\adodef.ch(121) Warning W0001  Redefinition or duplicate definition of #define adFldUnspecified
c:\fwh1903\include\adodef.ch(122) Warning W0001  Redefinition or duplicate definition of #define adFldMayDefer
c:\fwh1903\include\adodef.ch(123) Warning W0001  Redefinition or duplicate definition of #define adFldUpdatable
c:\fwh1903\include\adodef.ch(124) Warning W0001  Redefinition or duplicate definition of #define adFldUnknownUpdatable
c:\fwh1903\include\adodef.ch(125) Warning W0001  Redefinition or duplicate definition of #define adFldFixed
c:\fwh1903\include\adodef.ch(126) Warning W0001  Redefinition or duplicate definition of #define adFldIsNullable
c:\fwh1903\include\adodef.ch(127) Warning W0001  Redefinition or duplicate definition of #define adFldMayBeNull
c:\fwh1903\include\adodef.ch(128) Warning W0001  Redefinition or duplicate definition of #define adFldLong
c:\fwh1903\include\adodef.ch(129) Warning W0001  Redefinition or duplicate definition of #define adFldRowID
c:\fwh1903\include\adodef.ch(130) Warning W0001  Redefinition or duplicate definition of #define adFldRowVersion
c:\fwh1903\include\adodef.ch(131) Warning W0001  Redefinition or duplicate definition of #define adFldCacheDeferred
c:\fwh1903\include\adodef.ch(132) Warning W0001  Redefinition or duplicate definition of #define adFldNegativeScale
c:\fwh1903\include\adodef.ch(133) Warning W0001  Redefinition or duplicate definition of #define adFldKeyColumn
c:\fwh1903\include\adodef.ch(137) Warning W0001  Redefinition or duplicate definition of #define adOptionUnspecified
c:\fwh1903\include\adodef.ch(138) Warning W0001  Redefinition or duplicate definition of #define adAsyncExecute
c:\fwh1903\include\adodef.ch(139) Warning W0001  Redefinition or duplicate definition of #define adAsyncFetch
c:\fwh1903\include\adodef.ch(140) Warning W0001  Redefinition or duplicate definition of #define adAsyncFetchNonBlocking
c:\fwh1903\include\adodef.ch(141) Warning W0001  Redefinition or duplicate definition of #define adExecuteNoRecords
c:\fwh1903\include\adodef.ch(142) Warning W0001  Redefinition or duplicate definition of #define adExecuteStream
c:\fwh1903\include\adodef.ch(143) Warning W0001  Redefinition or duplicate definition of #define adExecuteRecord
c:\fwh1903\include\adodef.ch(149) Warning W0001  Redefinition or duplicate definition of #define adAffectCurrent
c:\fwh1903\include\adodef.ch(150) Warning W0001  Redefinition or duplicate definition of #define adAffectGroup
c:\fwh1903\include\adodef.ch(151) Warning W0001  Redefinition or duplicate definition of #define adAffectAll
c:\fwh1903\include\adodef.ch(152) Warning W0001  Redefinition or duplicate definition of #define adAffectAllChapters
c:\fwh1903\include\adodef.ch(155) Warning W0001  Redefinition or duplicate definition of #define adResyncAllValues
c:\fwh1903\include\adodef.ch(156) Warning W0001  Redefinition or duplicate definition of #define adResyncUnderlyingValues
c:\fwh1903\include\adodef.ch(162) Warning W0001  Redefinition or duplicate definition of #define adSchemaTables
c:\fwh1903\include\adodef.ch(163) Warning W0001  Redefinition or duplicate definition of #define adSchemaColumns
c:\fwh1903\include\adodef.ch(167) Warning W0001  Redefinition or duplicate definition of #define adStateClosed
c:\fwh1903\include\adodef.ch(168) Warning W0001  Redefinition or duplicate definition of #define adStateOpen
c:\fwh1903\include\adodef.ch(169) Warning W0001  Redefinition or duplicate definition of #define adStateConnecting
c:\fwh1903\include\adodef.ch(170) Warning W0001  Redefinition or duplicate definition of #define adStateExecuting
c:\fwh1903\include\adodef.ch(171) Warning W0001  Redefinition or duplicate definition of #define adStateFetching
c:\fwh1903\include\adodef.ch(176) Warning W0001  Redefinition or duplicate definition of #define adErrInvalidArgument
c:\fwh1903\include\adodef.ch(177) Warning W0001  Redefinition or duplicate definition of #define adErrNoCurrentRecord
c:\fwh1903\include\adodef.ch(178) Warning W0001  Redefinition or duplicate definition of #define adErrIllegalOperation
c:\fwh1903\include\adodef.ch(179) Warning W0001  Redefinition or duplicate definition of #define adErrInTransaction
c:\fwh1903\include\adodef.ch(180) Warning W0001  Redefinition or duplicate definition of #define adErrFeatureNotAvailable
c:\fwh1903\include\adodef.ch(181) Warning W0001  Redefinition or duplicate definition of #define adErrItemNotFound
c:\fwh1903\include\adodef.ch(182) Warning W0001  Redefinition or duplicate definition of #define adErrObjectInCollection
c:\fwh1903\include\adodef.ch(183) Warning W0001  Redefinition or duplicate definition of #define adErrObjectNotSet
c:\fwh1903\include\adodef.ch(184) Warning W0001  Redefinition or duplicate definition of #define adErrDataConversion
c:\fwh1903\include\adodef.ch(185) Warning W0001  Redefinition or duplicate definition of #define adErrObjectClosed
c:\fwh1903\include\adodef.ch(186) Warning W0001  Redefinition or duplicate definition of #define adErrObjectOpen
c:\fwh1903\include\adodef.ch(187) Warning W0001  Redefinition or duplicate definition of #define adErrProviderNotFound
c:\fwh1903\include\adodef.ch(188) Warning W0001  Redefinition or duplicate definition of #define adErrBoundToCommand
c:\fwh1903\include\adodef.ch(189) Warning W0001  Redefinition or duplicate definition of #define adErrInvalidParamInfo
c:\fwh1903\include\adodef.ch(190) Warning W0001  Redefinition or duplicate definition of #define adErrInvalidConnection
c:\fwh1903\include\adodef.ch(191) Warning W0001  Redefinition or duplicate definition of #define adErrNotReentrant
c:\fwh1903\include\adodef.ch(192) Warning W0001  Redefinition or duplicate definition of #define adErrStillExecuting
c:\fwh1903\include\adodef.ch(193) Warning W0001  Redefinition or duplicate definition of #define adErrOperationCancelled
c:\fwh1903\include\adodef.ch(194) Warning W0001  Redefinition or duplicate definition of #define adErrStillConnecting
c:\fwh1903\include\adodef.ch(195) Warning W0001  Redefinition or duplicate definition of #define adErrNotExecuting
c:\fwh1903\include\adodef.ch(196) Warning W0001  Redefinition or duplicate definition of #define adErrUnsafeOperation
c:\fwh1903\include\adodef.ch(200) Warning W0001  Redefinition or duplicate definition of #define adParamSigned
c:\fwh1903\include\adodef.ch(201) Warning W0001  Redefinition or duplicate definition of #define adParamNullable
c:\fwh1903\include\adodef.ch(202) Warning W0001  Redefinition or duplicate definition of #define adParamLong
c:\fwh1903\include\adodef.ch(204) Warning W0001  Redefinition or duplicate definition of #define adParamUnknown
c:\fwh1903\include\adodef.ch(205) Warning W0001  Redefinition or duplicate definition of #define adParamInput
c:\fwh1903\include\adodef.ch(206) Warning W0001  Redefinition or duplicate definition of #define adParamOutput
c:\fwh1903\include\adodef.ch(207) Warning W0001  Redefinition or duplicate definition of #define adParamInputOutput
c:\fwh1903\include\adodef.ch(208) Warning W0001  Redefinition or duplicate definition of #define adParamReturnValue
.\asql.prg(75) Warning W0001  Ambiguous reference: 'VTEM1'
.\asql.prg(91) Warning W0001  Ambiguous reference: 'VTEM1'
.\asql.prg(91) Warning W0001  Ambiguous reference: 'VTEM1'
.\asql.prg(94) Warning W0001  Ambiguous reference: 'VTEM1'
.\asql.prg(94) Warning W0001  Ambiguous reference: 'VTEM1'
.\asql.prg(97) Warning W0001  Ambiguous reference: 'VTEM1'
.\asql.prg(97) Warning W0001  Ambiguous reference: 'VTEM1'
.\asql.prg(99) Warning W0001  Ambiguous reference: 'VTEM1'
.\asql.prg(104) Warning W0001  Ambiguous reference: 'OERROR'
.\asql.prg(115) Warning W0001  Ambiguous reference: 'VTEM1'
.\asql.prg(115) Warning W0001  Ambiguous reference: 'VTEM1'
.\asql.prg(117) Warning W0001  Ambiguous reference: 'VTEM1'
.\asql.prg(117) Warning W0001  Ambiguous reference: 'VTEM1'
.\asql.prg(119) Warning W0001  Ambiguous reference: 'VTEM1'
.\asql.prg(129) Warning W0001  Ambiguous reference: 'OERROR'
.\asql.prg(172) Warning W0001  Ambiguous reference: 'VTEM1'
.\asql.prg(177) Warning W0001  Ambiguous reference: 'VTEM1'
.\asql.prg(177) Warning W0001  Ambiguous reference: 'VTEM1'
.\asql.prg(179) Warning W0001  Ambiguous reference: 'VTEM1'
.\asql.prg(179) Warning W0001  Ambiguous reference: 'VTEM1'
.\asql.prg(181) Warning W0001  Ambiguous reference: 'VTEM1'
.\asql.prg(212) Warning W0001  Ambiguous reference: 'POSI'
.\asql.prg(223) Warning W0001  Ambiguous reference: 'TAM'
.\asql.prg(225) Warning W0001  Ambiguous reference: 'I'
.\asql.prg(225) Warning W0001  Ambiguous reference: 'I'
.\asql.prg(225) Warning W0001  Ambiguous reference: 'TAM'
.\asql.prg(226) Warning W0001  Ambiguous reference: 'I'
.\asql.prg(227) Warning W0001  Ambiguous reference: 'I'
.\asql.prg(227) Warning W0001  Ambiguous reference: 'I'
.\asql.prg(229) Warning W0001  Ambiguous reference: 'I'
.\asql.prg(229) Warning W0001  Ambiguous reference: 'I'
.\asql.prg(229) Warning W0001  Ambiguous reference: 'TAM'
.\asql.prg(230) Warning W0001  Ambiguous reference: 'I'
.\asql.prg(231) Warning W0001  Ambiguous reference: 'I'
.\asql.prg(231) Warning W0001  Ambiguous reference: 'I'
.\asql.prg(290) Warning W0001  Ambiguous reference: 'POSI'
.\asql.prg(291) Warning W0001  Ambiguous reference: 'POSI'
        c:\bcc73\bin\bcc32 -c -tWM -Ic:\xhar1903\include -oobj\asql obj\asql.c
Embarcadero C++ 7.30 for Win32 Copyright (c) 1993-2017 Embarcadero Technologies, Inc.
obj\asql.c:
        c:\xhar1903\bin\harbour .\abus.prg /N /W /Oobj\ /Ic:\fwh1903\include;c:\xhar1903\include >> comp.log
.\abus.prg(30) Warning W0001  Ambiguous reference: 'NROW'
.\abus.prg(31) Warning W0001  Ambiguous reference: 'NCOL'
.\abus.prg(33) Warning W0001  Ambiguous reference: 'NROW'
.\abus.prg(33) Warning W0001  Ambiguous reference: 'NCOL'
.\abus.prg(33) Warning W0001  Ambiguous reference: 'APOINT'
.\abus.prg(34) Warning W0002  Ambiguous reference, assuming memvar: 'APOINT'
.\abus.prg(34) Warning W0001  Ambiguous reference: 'NROW'
.\abus.prg(35) Warning W0002  Ambiguous reference, assuming memvar: 'APOINT'
.\abus.prg(35) Warning W0001  Ambiguous reference: 'NCOL'
.\abus.prg(37) Warning W0001  Ambiguous reference: 'ACOLNOM'
.\abus.prg(38) Warning W0001  Ambiguous reference: 'ACOLTAM'
.\abus.prg(39) Warning W0001  Ambiguous reference: 'ACOLALI'
.\abus.prg(41) Warning W0001  Ambiguous reference: 'OVAR'
.\abus.prg(42) Warning W0001  Ambiguous reference: 'OCON'
.\abus.prg(42) Warning W0001  Ambiguous reference: 'OVAR'
.\abus.prg(42) Warning W0001  Ambiguous reference: 'OCONSBU'
.\abus.prg(44) Warning W0001  Ambiguous reference: 'NROW'
.\abus.prg(44) Warning W0001  Ambiguous reference: 'NCOL'
.\abus.prg(44) Warning W0001  Ambiguous reference: 'NROW'
.\abus.prg(44) Warning W0001  Ambiguous reference: 'NCOL'
.\abus.prg(44) Warning W0001  Ambiguous reference: 'ODLG'
.\abus.prg(46) Warning W0001  Ambiguous reference: 'ODLG'
.\abus.prg(46) Warning W0001  Ambiguous reference: 'OBRW'
.\abus.prg(47) Warning W0001  Ambiguous reference: 'OBRW'
.\abus.prg(48) Warning W0001  Ambiguous reference: 'OBRW'
.\abus.prg(49) Warning W0001  Ambiguous reference: 'OBRW'
.\abus.prg(51) Warning W0001  Ambiguous reference: 'N'
.\abus.prg(51) Warning W0001  Ambiguous reference: 'N'
.\abus.prg(51) Warning W0001  Ambiguous reference: 'OCONSBU'
.\abus.prg(52) Warning W0001  Ambiguous reference: 'OBRW'
.\abus.prg(52) Warning W0001  Ambiguous reference: 'OCONSBU'
.\abus.prg(52) Warning W0001  Ambiguous reference: 'N'
.\abus.prg(52) Warning W0001  Ambiguous reference: 'ACOLNOM'
.\abus.prg(52) Warning W0001  Ambiguous reference: 'ACOLTAM'
.\abus.prg(52) Warning W0001  Ambiguous reference: 'ACOLALI'
.\abus.prg(53) Warning W0001  Ambiguous reference: 'N'
.\abus.prg(53) Warning W0001  Ambiguous reference: 'N'
.\abus.prg(55) Warning W0001  Ambiguous reference: 'OBRW'
.\abus.prg(55) Warning W0001  Ambiguous reference: 'OCONSBU'
.\abus.prg(56) Warning W0001  Ambiguous reference: 'OBRW'
.\abus.prg(58) Warning W0001  Ambiguous reference: 'ODLG'
.\abus.prg(59) Warning W0001  Ambiguous reference: 'ODLG'
.\abus.prg(59) Warning W0001  Ambiguous reference: 'LEDITED'
.\abus.prg(59) Warning W0001  Ambiguous reference: 'ODLG'
.\abus.prg(61) Warning W0001  Ambiguous reference: 'ODLG'
.\abus.prg(61) Warning W0001  Ambiguous reference: 'ODLG'
.\abus.prg(61) Warning W0001  Ambiguous reference: 'ODLG'
.\abus.prg(61) Warning W0001  Ambiguous reference: 'ODLG'
.\abus.prg(61) Warning W0001  Ambiguous reference: 'OCONSBU'
.\abus.prg(61) Warning W0001  Ambiguous reference: 'ODLG'
.\abus.prg(61) Warning W0001  Ambiguous reference: 'ODLG'
        c:\bcc73\bin\bcc32 -c -tWM -Ic:\xhar1903\include -oobj\abus obj\abus.c
Embarcadero C++ 7.30 for Win32 Copyright (c) 1993-2017 Embarcadero Technologies, Inc.
obj\abus.c:
        c:\xhar1903\bin\harbour .\rscombo.prg /N /W /Oobj\ /Ic:\fwh1903\include;c:\xhar1903\include >> comp.log
        c:\bcc73\bin\bcc32 -c -tWM -Ic:\xhar1903\include -oobj\rscombo obj\rscombo.c
Embarcadero C++ 7.30 for Win32 Copyright (c) 1993-2017 Embarcadero Technologies, Inc.
obj\rscombo.c:
        c:\xhar1903\bin\harbour .\vrd.prg /N /W /Oobj\ /Ic:\fwh1903\include;c:\xhar1903\include >> comp.log
.\vrd.prg(2215) Warning W0001  Ambiguous reference: 'CREC'
        c:\bcc73\bin\bcc32 -c -tWM -Ic:\xhar1903\include -oobj\vrd obj\vrd.c
Embarcadero C++ 7.30 for Win32 Copyright (c) 1993-2017 Embarcadero Technologies, Inc.
obj\vrd.c:
        c:\xhar1903\bin\harbour .\vrditem.prg /N /W /Oobj\ /Ic:\fwh1903\include;c:\xhar1903\include >> comp.log
        c:\bcc73\bin\bcc32 -c -tWM -Ic:\xhar1903\include -oobj\vrditem obj\vrditem.c
Embarcadero C++ 7.30 for Win32 Copyright (c) 1993-2017 Embarcadero Technologies, Inc.
obj\vrditem.c:
        c:\xhar1903\bin\harbour .\vrdbcode.prg /N /W /Oobj\ /Ic:\fwh1903\include;c:\xhar1903\include >> comp.log
        c:\bcc73\bin\bcc32 -c -tWM -Ic:\xhar1903\include -oobj\vrdbcode obj\vrdbcode.c
Embarcadero C++ 7.30 for Win32 Copyright (c) 1993-2017 Embarcadero Technologies, Inc.
obj\vrdbcode.c:
        echo off
off
        echo c:\bcc73\lib\c0w32.obj + > b32.bc
        echo xp.obj  Tword.obj  lyma.obj  aimpo.obj  asql.obj  abus.obj  rscombo.obj  vrd.obj  vrditem.obj  vrdbcode.obj, + >> b32.bc
        echo xp.exe, + >> b32.bc
        echo xp.map, + >> b32.bc
        echo c:\fwh1903\lib\FiveHX.lib c:\fwh1903\lib\FiveHC.lib + >> b32.bc
        echo c:\xhar1903\lib\rtl.lib + >> b32.bc
        echo c:\xhar1903\lib\vm.lib + >> b32.bc
        echo c:\xhar1903\lib\lang.lib + >> b32.bc
        echo c:\xhar1903\lib\macro.lib + >> b32.bc
        echo c:\xhar1903\lib\rdd.lib + >> b32.bc
        echo c:\xhar1903\lib\dbfntx.lib + >> b32.bc
        echo c:\xhar1903\lib\dbfcdx.lib + >> b32.bc
        echo c:\xhar1903\lib\dbffpt.lib + >> b32.bc
        echo c:\xhar1903\lib\hbsix.lib + >> b32.bc
        echo c:\xhar1903\lib\debug.lib + >> b32.bc
        echo c:\xhar1903\lib\common.lib + >> b32.bc
        echo c:\xhar1903\lib\codepage.lib + >> b32.bc
        echo c:\xhar1903\lib\pp.lib + >> b32.bc
        echo c:\xhar1903\lib\pcrepos.lib + >> b32.bc
        echo c:\xhar1903\lib\ct.lib + >> b32.bc
        echo c:\xhar1903\lib\zlib.lib + >> b32.bc
        echo c:\xhar1903\lib\hbzip.lib + >> b32.bc
        echo c:\xhar1903\lib\hbzip.lib + >> b32.bc
        echo c:\xhar1903\lib\libmisc.lib + >> b32.bc
        echo c:\xhar1903\lib\tip.lib + >> b32.bc
        echo c:\xhar1903\lib\hbzebra.lib + >> b32.bc
        echo c:\xhar1903\lib\gtcgi.lib + >> b32.bc
        echo c:\xhar1903\lib\gtgui.lib + >> b32.bc
        echo c:\xhar1903\lib\gtpca.lib + >> b32.bc
        echo c:\xhar1903\lib\gtstd.lib + >> b32.bc
        echo c:\xhar1903\lib\gtwin.lib + >> b32.bc
        echo c:\xhar1903\lib\gtwvg.lib + >> b32.bc
        echo c:\xhar1903\lib\gtwvt.lib + >> b32.bc
        echo c:\xhar1903\lib\gtwvw.lib + >> b32.bc
        echo c:\bcc73\lib\cw32.lib + >> b32.bc
        echo c:\bcc73\lib\import32.lib + >> b32.bc
        echo c:\bcc73\lib\psdk\odbc32.lib + >> b32.bc
        echo c:\bcc73\lib\psdk\nddeapi.lib + >> b32.bc
        echo c:\bcc73\lib\psdk\iphlpapi.lib + >> b32.bc
        echo c:\bcc73\lib\psdk\msimg32.lib + >> b32.bc
        echo c:\bcc73\lib\psdk\shell32.lib + >> b32.bc
        echo c:\bcc73\lib\psdk\gdiplus.lib + >> b32.bc
        echo c:\bcc73\lib\psdk\rasapi32.lib + >> b32.bc
        echo xp.res >> b32.bc
        c:\bcc73\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
Turbo Incremental Link 6.80 Copyright (c) 1997-2017 Embarcadero Technologies, Inc.
Fatal: Unable to open file 'XP.OBJ'

** error 2 ** deleting xp.exe
C:\xpmake>

 


Lo raro es que ese mismo código lo compilo con fivedit y lo hace sin problemas
Saludos
LEANDRO AREVALO
Bogotá (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com

[ Embarcadero C++ 7.60 for Win32 ] [ FiveWin 23.07 ] [ xHarbour 1.3.0 Intl. (SimpLex) (Build 20230914) ]
User avatar
leandro
 
Posts: 1676
Joined: Wed Oct 26, 2005 2:49 pm
Location: Colombia

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby karinha » Tue May 14, 2019 3:39 pm

con xHarbour. GO.BAT

Code: Select all  Expand view  RUN

@if not exist obj mkdir obj
c:\bcc7\bin\make -f test.mak
 
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7848
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby karinha » Tue May 14, 2019 3:40 pm

TEST.MAK

Code: Select all  Expand view  RUN

#Borland make sample, (c) FiveTech Software 2005-2009

HBDIR=c:\xharbour
BCDIR=c:\bcc7
FWDIR=c:\fwteam

#change these paths as needed
.path.OBJ = .\obj
.path.PRG = .\
.path.CH  = $(FWDIR)\include;$(HBDIR)\include
.path.C   = .\obj
.path.rc  = .\

#important: Use Uppercase for filenames extensions, in the next two rules!

PRG =        \
alert.prg    \
one.prg

PROJECT    : Alert.exe

Alert.exe  : $(PRG:.prg=.obj)
   echo off
   echo $(BCDIR)\lib\c0w32.obj + > b32.bc
   echo obj\alert.obj obj\one.obj, + >> b32.bc
   #echo $(OBJS), + >> b32.bc
   echo alert.exe, + >> b32.bc
   echo alert.map, + >> b32.bc
   echo $(FWDIR)\lib\FiveHx.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
   echo $(HBDIR)\lib\rtl.lib + >> b32.bc
   echo $(HBDIR)\lib\vm.lib + >> b32.bc
   echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
   echo $(HBDIR)\lib\lang.lib + >> b32.bc
   echo $(HBDIR)\lib\macro.lib + >> b32.bc
   echo $(HBDIR)\lib\rdd.lib + >> b32.bc
   echo $(HBDIR)\lib\dbfntx.lib + >> b32.bc
   echo $(HBDIR)\lib\dbfcdx.lib + >> b32.bc
   echo $(HBDIR)\lib\dbffpt.lib + >> b32.bc
   echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
   echo $(HBDIR)\lib\debug.lib + >> b32.bc
   echo $(HBDIR)\lib\common.lib + >> b32.bc
   echo $(HBDIR)\lib\pp.lib + >> b32.bc
   echo $(HBDIR)\lib\pcrepos.lib + >> b32.bc
   echo $(HBDIR)\lib\ct.lib + >> b32.bc
   echo $(HBDIR)\lib\zlib.lib + >> b32.bc
   echo $(HBDIR)\lib\hbzip.lib + >> b32.bc
   echo $(HBDIR)\lib\libmisc.lib + >> b32.bc
   echo $(HBDIR)\lib\tip.lib + >> b32.bc
   echo $(HBDIR)\lib\png.lib + >> b32.bc

   rem Uncomment these two lines to use Advantage RDD
   rem echo $(HBDIR)\lib\rddads.lib + >> b32.bc
   rem echo $(HBDIR)\lib\Ace32.lib + >> b32.bc

   echo $(BCDIR)\lib\cw32.lib + >> b32.bc
   echo $(BCDIR)\lib\import32.lib + >> b32.bc
   echo $(BCDIR)\lib\uuid.lib + >> b32.bc
   echo $(BCDIR)\lib\ws2_32.lib + >> b32.bc  
   echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\rasapi32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\msimg32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\psapi.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\gdiplus.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\shell32.lib, >> b32.bc

   IF EXIST Alert.res echo Alert.res >> b32.bc
   $(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
   #del b32.bc

.prg.obj:
  $(HBDIR)\bin\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include
  $(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c

alert.res : alert.rc
#  $(BCDIR)\bin\brc32.exe -r Alert.rc
 
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7848
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby karinha » Tue May 14, 2019 4:48 pm

b32.bc -> Resulta,

Code: Select all  Expand view  RUN

c:\bcc72\lib\c0w32.obj +
obj\alert.obj obj\one.obj, +
alert.exe, +
alert.map, +
c:\FWH1701\lib\FiveHx.lib c:\FWH1701\lib\FiveHC.lib +
c:\XHBBCC72\lib\rtl.lib +
c:\XHBBCC72\lib\vm.lib +
c:\XHBBCC72\lib\gtgui.lib +
c:\XHBBCC72\lib\lang.lib +
c:\XHBBCC72\lib\macro.lib +
c:\XHBBCC72\lib\rdd.lib +
c:\XHBBCC72\lib\dbfntx.lib +
c:\XHBBCC72\lib\dbfcdx.lib +
c:\XHBBCC72\lib\dbffpt.lib +
c:\XHBBCC72\lib\hbsix.lib +
c:\XHBBCC72\lib\debug.lib +
c:\XHBBCC72\lib\common.lib +
c:\XHBBCC72\lib\pp.lib +
c:\XHBBCC72\lib\pcrepos.lib +
c:\XHBBCC72\lib\ct.lib +
c:\XHBBCC72\lib\zlib.lib +
c:\XHBBCC72\lib\hbzip.lib +
c:\XHBBCC72\lib\libmisc.lib +
c:\XHBBCC72\lib\tip.lib +
c:\XHBBCC72\lib\png.lib +
c:\bcc72\lib\cw32.lib +
c:\bcc72\lib\import32.lib +
c:\bcc72\lib\uuid.lib +
c:\bcc72\lib\ws2_32.lib +  
c:\bcc72\lib\psdk\odbc32.lib +
c:\bcc72\lib\psdk\rasapi32.lib +
c:\bcc72\lib\psdk\nddeapi.lib +
c:\bcc72\lib\psdk\msimg32.lib +
c:\bcc72\lib\psdk\psapi.lib +
c:\bcc72\lib\psdk\gdiplus.lib +
c:\bcc72\lib\psdk\iphlpapi.lib +
c:\bcc72\lib\psdk\shell32.lib,
mi archivo.res
 


Que puedo crear un COMP.BAT y COMP.LNK Y Tambien funciona perfecto.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7848
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby leandro » Tue May 14, 2019 7:43 pm

karinha, muchas gracias. :D

Funciono perfecto.
Saludos
LEANDRO AREVALO
Bogotá (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com

[ Embarcadero C++ 7.60 for Win32 ] [ FiveWin 23.07 ] [ xHarbour 1.3.0 Intl. (SimpLex) (Build 20230914) ]
User avatar
leandro
 
Posts: 1676
Joined: Wed Oct 26, 2005 2:49 pm
Location: Colombia

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby Marcelo Roggeri » Wed Jun 05, 2019 2:41 pm

Hola buenos días siguiendo el hilo, alguien tendra un archivo.mak para enlazar varios prg en Harbour?
Les agradezco su ayuda.
Saludos
Marcelo
FWH - Harbour - BCC7 - PellesC
User avatar
Marcelo Roggeri
 
Posts: 342
Joined: Sat Jul 22, 2006 9:04 pm
Location: Venado Tuerto - Santa Fe -Argentina

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby Marcelo Roggeri » Wed Jun 05, 2019 3:38 pm

Solucionado ya lo hice funcionar
FWH - Harbour - BCC7 - PellesC
User avatar
Marcelo Roggeri
 
Posts: 342
Joined: Sat Jul 22, 2006 9:04 pm
Location: Venado Tuerto - Santa Fe -Argentina

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby karinha » Wed Jun 05, 2019 5:04 pm

Marcelo Roggeri wrote:Solucionado ya lo hice funcionar



Marcelo, ¿podría compartir? Ayuda a los demás usuarios. Muy agradecido.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7848
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby Marcelo Roggeri » Wed Jun 05, 2019 5:10 pm

Hola Karina si cierto s eme paso perdon
go.bat
Code: Select all  Expand view  RUN
set path=C:\bcc7\bin
if not exist obj md obj
make -fmyapp.mak


myapp.mak
Code: Select all  Expand view  RUN
#Borland make sample, (c) FiveTech Software 2005-2009

HBDIR=c:\harbour
BCDIR=c:\bcc7
FWDIR=c:\fwh

#change these paths as needed
.path.OBJ = .\obj
.path.PRG = .\
.path.CH  = $(FWDIR)\include;$(HBDIR)\include
.path.C   = .\obj
.path.rc  = .\

#important: Use Uppercase for filenames extensions, in the next two rules!

PRG = \
menu.prg \
ATT.PRG \
aFindFile.PRG \
unidadesValidas.PRG \
cGetDir.PRG \
aScan.PRG \
VerPDF.PRG

PROJECT    : menu.exe

menu.exe  : $(PRG:.prg=.obj)
   echo off
   echo $(BCDIR)\lib\c0w32.obj + > b32.bc
   echo obj\menu.obj, + >> b32.bc
   rem echo $(OBJS), + >> b32.bc
   echo menu.exe, + >> b32.bc
   echo menu.map, + >> b32.bc
   echo $(FWDIR)\lib\FiveH.lib    + >> b32.bc
   echo $(FWDIR)\lib\FiveHC.lib   + >> b32.bc
   echo $(FWDIR)\lib\libmysql.lib + >> b32.bc
   echo $(FWDIR)\lib\hbpgsql.lib  + >> b32.bc
   echo $(FWDIR)\lib\libpq.lib    + >> b32.bc

   echo $(HBDIR)\lib\hbwin.lib    + >> b32.bc
   echo $(HBDIR)\lib\gtgui.lib    + >> b32.bc
   echo $(HBDIR)\lib\hbrtl.lib    + >> b32.bc
   echo $(HBDIR)\lib\hbvm.lib     + >> b32.bc
   echo $(HBDIR)\lib\hblang.lib   + >> b32.bc
   echo $(HBDIR)\lib\hbmacro.lib  + >> b32.bc
   echo $(HBDIR)\lib\hbrdd.lib    + >> b32.bc
   echo $(HBDIR)\lib\rddntx.lib   + >> b32.bc
   echo $(HBDIR)\lib\rddcdx.lib   + >> b32.bc
   echo $(HBDIR)\lib\rddfpt.lib   + >> b32.bc
   echo $(HBDIR)\lib\hbsix.lib    + >> b32.bc
   echo $(HBDIR)\lib\hbdebug.lib  + >> b32.bc
   echo $(HBDIR)\lib\hbcommon.lib + >> b32.bc
   echo $(HBDIR)\lib\hbpp.lib     + >> b32.bc
   echo $(HBDIR)\lib\hbcpage.lib  + >> b32.bc
   echo $(HBDIR)\lib\hbcplr.lib   + >> b32.bc
   echo $(HBDIR)\lib\hbct.lib     + >> b32.bc
   echo $(HBDIR)\lib\hbpcre.lib   + >> b32.bc
   echo $(HBDIR)\lib\xhb.lib      + >> b32.bc
   echo $(HBDIR)\lib\hbziparc.lib + >> b32.bc
   echo $(HBDIR)\lib\hbmzip.lib   + >> b32.bc
   echo $(HBDIR)\lib\hbzlib.lib   + >> b32.bc
   echo $(HBDIR)\lib\minizip.lib  + >> b32.bc
   echo $(HBDIR)\lib\hbusrrdd.lib + >> b32.bc
   echo $(HBDIR)\lib\hbtip.lib    + >> b32.bc
   echo $(HBDIR)\lib\hbzebra.lib  + >> b32.bc
   echo $(FWDIR)\lib\dolphin.lib  + >> b32.bc

   echo $(BCDIR)\lib\cw32.lib          + >> b32.bc
   echo $(BCDIR)\lib\import32.lib      + >> b32.bc
   echo $(BCDIR)\lib\uuid.lib          + >> b32.bc
   echo $(BCDIR)\lib\ws2_32.lib        + >> b32.bc  
   echo $(BCDIR)\lib\psdk\odbc32.lib   + >> b32.bc
   echo $(BCDIR)\lib\psdk\rasapi32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\nddeapi.lib  + >> b32.bc
   echo $(BCDIR)\lib\psdk\msimg32.lib  + >> b32.bc
   echo $(BCDIR)\lib\psdk\psapi.lib    + >> b32.bc
   echo $(BCDIR)\lib\psdk\gdiplus.lib  + >> b32.bc
   echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\shell32.lib, >> b32.bc

   IF EXIST menu.res echo menu.res >> b32.bc
   $(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
   #del b32.bc

.prg.obj:
  $(HBDIR)\bin\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include
  $(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c

menu.res : menu.rc
#  $(BCDIR)\bin\brc32.exe -r menu.rc
 


me queda la duda del archivo de recursos, porque utilizo el menu.rc
De todas maneras genero el ejecutable.
P.D. el ejemplo es en base al que compartiste vos Karina, solo cambie las librerias de xHarbour por las de Harbour
Saludos
Marcelo
FWH - Harbour - BCC7 - PellesC
User avatar
Marcelo Roggeri
 
Posts: 342
Joined: Sat Jul 22, 2006 9:04 pm
Location: Venado Tuerto - Santa Fe -Argentina

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby cnavarro » Wed Jun 05, 2019 5:50 pm

Un detalle
Puedes sustituir el apartado de definición de PRGS por

!include "myfiles.txt"


por lo que puedes tener un fichero que se llame "myfiles.txt" que contenga
PRG = \
MENU.PRG \
ATT.PRG \
AFINDFILE.PRG \
UNIDADESVALIDAS.PRG \
CGETDIR.PRG \
ASCAN.PRG \
VERPDF.PRG


y tal y como te aparece en el ejemplo .mak que has puesto, utiliza mayúsculas ( yo lo utilizo para el nombre y la extensión para no equivocarme )
#important: Use Uppercase for filenames extensions, in the next two rules!
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby Marcelo Roggeri » Wed Jun 05, 2019 5:53 pm

Gracias Cristobal, muy buen detalle y aporte ya lo estoy haciendo.
Un saludo
FWH - Harbour - BCC7 - PellesC
User avatar
Marcelo Roggeri
 
Posts: 342
Joined: Sat Jul 22, 2006 9:04 pm
Location: Venado Tuerto - Santa Fe -Argentina

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby cnavarro » Wed Jun 05, 2019 5:56 pm

Por lo tanto has de cambiar esto tambien
Menu.exe : $(PRG:.PRG=.OBJ)
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby Marcelo Roggeri » Wed Jun 05, 2019 6:13 pm

ok Critobal quedo andando
Muchas gracias
Saludos
FWH - Harbour - BCC7 - PellesC
User avatar
Marcelo Roggeri
 
Posts: 342
Joined: Sat Jul 22, 2006 9:04 pm
Location: Venado Tuerto - Santa Fe -Argentina

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby Compuin » Thu Jun 06, 2019 12:36 pm

Marcelo Roggeri wrote:ok Critobal quedo andando
Muchas gracias
Saludos


A mi me funciona muy bien asi,

PRG = \
.\T00.prg \
.\T01.prg \
.\T02.prg \
.\T03.prg \


Y esta linea

OBJ=$(PRG:.prg=.obj)
OBJS=$(OBJ:.\=.\obj\)

PROJECT : demo.exe


Saludos
FWH 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1214
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada

PreviousNext

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 52 guests