nmake (susttituto de Rmake) para FWH64 bits

nmake (susttituto de Rmake) para FWH64 bits

Postby jnavas » Thu Jan 21, 2010 8:37 am

Colegas,
tengo el grato placer de disfrutar, los logros de FWH64, y les dejo aqui el NMAKE para que empiecen a migrar sus aplicaciones hacia las nuevas tecnologias.


// Desde aqui empieza make.mak
// Sintanxis de ejecución : c:\vc64\bin\nmake -fmake.mak
#Microsoft make sample, (c) FiveTech Software 2005



HBDIR=c:\harbour64
VCDIR=c:\vc64
FWDIR=c:\fwh64

.SUFFIXES: .prg .c .obj .rc .res

tutor02.exe : tutor02.obj one.obj tutor02.res
echo tutor02.obj one.obj > msvc.tmp

echo $(FWDIR)\lib\FiveH64.lib $(FWDIR)\lib\FiveHC64.lib >> msvc.tmp

echo $(HBDIR)\lib\hbrtl.lib >> msvc.tmp
echo $(HBDIR)\lib\hbvm.lib >> msvc.tmp
echo $(HBDIR)\lib\gtgui.lib >> msvc.tmp
echo $(HBDIR)\lib\hblang.lib >> msvc.tmp
echo $(HBDIR)\lib\hbmacro.lib >> msvc.tmp
echo $(HBDIR)\lib\hbrdd.lib >> msvc.tmp
echo $(HBDIR)\lib\rddntx.lib >> msvc.tmp
echo $(HBDIR)\lib\rddcdx.lib >> msvc.tmp
echo $(HBDIR)\lib\rddfpt.lib >> msvc.tmp
echo $(HBDIR)\lib\hbdebug.lib >> msvc.tmp
echo $(HBDIR)\lib\hbcommon.lib >> msvc.tmp
echo $(HBDIR)\lib\hbpp.lib >> msvc.tmp
echo $(HBDIR)\lib\hbw32.lib >> msvc.tmp
echo $(HBDIR)\lib\hbcpage.lib >> msvc.tmp
echo $(HBDIR)\lib\hbsix.lib >> msvc.tmp

echo $(VCDIR)\lib\libc.lib >> msvc.tmp
echo $(VCDIR)\lib\kernel32.lib >> msvc.tmp
echo $(VCDIR)\lib\user32.lib >> msvc.tmp
echo $(VCDIR)\lib\gdi32.lib >> msvc.tmp
echo $(VCDIR)\lib\winspool.lib >> msvc.tmp
echo $(VCDIR)\lib\comctl32.lib >> msvc.tmp
echo $(VCDIR)\lib\comdlg32.lib >> msvc.tmp
echo $(VCDIR)\lib\advapi32.lib >> msvc.tmp
echo $(VCDIR)\lib\shell32.lib >> msvc.tmp
echo $(VCDIR)\lib\ole32.lib >> msvc.tmp
echo $(VCDIR)\lib\oleaut32.lib >> msvc.tmp
echo $(VCDIR)\lib\uuid.lib >> msvc.tmp
echo $(VCDIR)\lib\odbc32.lib >> msvc.tmp
echo $(VCDIR)\lib\odbccp32.lib >> msvc.tmp
echo $(VCDIR)\lib\iphlpapi.lib >> msvc.tmp
echo $(VCDIR)\lib\mpr.lib >> msvc.tmp
echo $(VCDIR)\lib\version.lib >> msvc.tmp
echo $(VCDIR)\lib\wsock32.lib >> msvc.tmp
echo $(VCDIR)\lib\msimg32.lib >> msvc.tmp
echo $(VCDIR)\lib\bufferoverflowu.lib >> msvc.tmp

IF EXIST tutor02.res echo tutor02.res >> msvc.tmp

SET LIB=$(VCDIR)\lib
# $(VCDIR)\bin\link @msvc.tmp /nologo /subsystem:windows /force:multiple > link.log
$(VCDIR)\bin\link @msvc.tmp /nologo /subsystem:windows /force:multiple /NODEFAULTLIB:libcmt > link.log


@type link.log
@del tutor02.c
@del one.c
@del msvc.tmp

tutor02.obj : tutor02.c
one.obj : one.c

tutor02.c : tutor02.prg
one.c : one.prg

tutor02.res : tutor02.rc
$(VCDIR)\bin\rc -r -d__FLAT__ tutor02.rc

.prg.c:
$(HBDIR)\bin\harbour $< /n /i$(FWDIR)\include;$(HBDIR)\include

.c.obj:
$(VCDIR)\bin\cl -c -TP -W3 -GA -I$(HBDIR)\include -I$(VCDIR)\include $<
User avatar
jnavas
 
Posts: 479
Joined: Wed Nov 16, 2005 12:03 pm
Location: Caracas - Venezuela

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: FiveWiDi, Google [Bot] and 107 guests