COMPILA.BAT
- Code: Select all Expand view RUN
- if not exist obj md obj
c:\bcc55\bin\make -fconfig.mak
y el CONFIF.MAK
- Code: Select all Expand view RUN
- #Borland make sample, (c) FiveTech Software 2005-2009
HBDIR=c:\harbour
BCDIR=c:\bcc55
FWDIR=c:\fwh
#change these paths as needed
.path.OBJ = .\obj
.path.PRG = .\
.path.CH = $(FWDIR)\include;$(HBDIR)\include
.path.C = .\
.path.rc = .\
#important: Use Uppercase for filenames extensions, in the next two rules!
PRG = \
menu.PRG \
agenda.PRG \
agentes.PRG \
albaran.PRG \
articulo.PRG
C = \
agenda.C \
agentes.C \
albaran.C \
articulo.C
PROJECT : menu.exe
menu.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) menu.res
echo off
echo $(BCDIR)\lib\c0w32.obj + > b32.bc
rem echo obj\menu.obj obj\agenda.obj obj\agentes.obj obj\albaran.obj obj\articulo.obj, + >> b32.bc
echo menu.exe, + >> b32.bc
echo menu.map, + >> b32.bc
echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
echo $(HBDIR)\lib\hbrtl.lib + >> b32.bc
echo $(HBDIR)\lib\hbvm.lib + >> b32.bc
echo $(HBDIR)\lib\gtgui.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\hbwin.lib + >> b32.bc
echo $(HBDIR)\lib\hbcpage.lib + >> b32.bc
echo $(HBDIR)\lib\hbct.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\psdk\odbc32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\msimg32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\rasapi32.lib, >> b32.bc
IF EXIST menu.res echo menu.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s -w2 @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
.C.OBJ:
echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
$(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
del tmp
menu.res : menu.res
$(BCDIR)\bin\brc32.exe -r menu.rc
he añadido ya varios de los PRG que tengo que enlazar, pero no lo consigo.
Este es el último error que me sale
C:\fuentes>if not exist obj md obj
C:\fuentes>c:\bcc55\bin\make -fconfig.mak
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Fatal: 'menu.rc' does not exist - don't know how to make it
Process completed, Exit Code 1.
Execution time: 00:00.562
¿Me podéis echar una mano? Gracias.