*** empty log message ***
This commit is contained in:
@@ -27,4 +27,4 @@ _STATICS is just called once from an entire PRG from an init function named _INI
|
||||
You are going to see the code for all these. I just wanted to provide a clear idea about how Harbour does its magic :-)
|
||||
|
||||
|
||||
Antonio
|
||||
Antonio
|
||||
|
||||
38
harbour/gt.b32
Normal file
38
harbour/gt.b32
Normal file
@@ -0,0 +1,38 @@
|
||||
# makefile for Borland C/C++ 32 bits
|
||||
# porting gt.lib's string functions to harbour
|
||||
|
||||
.path.c = source\tools
|
||||
.path.h = include
|
||||
.path.lib = libs\b32
|
||||
.path.obj = obj
|
||||
|
||||
libs\b32\hbgt.lib : \
|
||||
ascpos.obj atdiff.obj chareven.obj charodd.obj chrcount.obj \
|
||||
chrtotal.obj charmix.obj asciisum.obj chrfirst.obj \
|
||||
strasint.obj strcount.obj strcspn.obj strdiff.obj strexpan.obj \
|
||||
strleft.obj strpbrk.obj strright.obj
|
||||
|
||||
ascpos.obj : ascpos.c extend.h types.h
|
||||
atdiff.obj : atdiff.c extend.h types.h
|
||||
chareven.obj : chareven.c extend.h types.h
|
||||
charodd.obj : charodd.c extend.h types.h
|
||||
chrcount.obj : chrcount.c extend.h types.h
|
||||
chrtotal.obj : chrtotal.c extend.h types.h
|
||||
charmix.obj : charmix.c extend.h types.h
|
||||
asciisum.obj : asciisum.c extend.h types.h
|
||||
chrfirst.obj : chrfirst.c extend.h types.h
|
||||
strasint.obj : strasint.c extend.h types.h
|
||||
strcount.obj : strcount.c extend.h types.h
|
||||
strcspn.obj : strcspn.c extend.h types.h
|
||||
strdiff.obj : strdiff.c extend.h types.h
|
||||
strexpan.obj : strexpan.c extend.h types.h
|
||||
strleft.obj : strleft.c extend.h types.h
|
||||
strpbrk.obj : strpbrk.c extend.h types.h
|
||||
strright.obj : strright.c extend.h types.h
|
||||
|
||||
.prg.c:
|
||||
bin\b32\harbour $< /n
|
||||
|
||||
.c.obj:
|
||||
bcc32 -c -O2 -I.\include -o$@ $<
|
||||
tlib .\libs\b32\hbgt.lib -+$@,,
|
||||
@@ -5,6 +5,7 @@ IF A%2 == A GOTO :NOOUTPUT
|
||||
|
||||
echo -O2 -e%2.exe -I..\..\include ..\..\source\vm\hvm.c %1.c > b32.bc
|
||||
echo ..\..\libs\b32\harbour.lib ..\..\libs\b32\terminal.lib >> b32.bc
|
||||
echo ..\..\libs\b32\hbgt.lib >> b32.bc
|
||||
bcc32 @b32.bc
|
||||
del b32.bc
|
||||
GOTO :END
|
||||
@@ -12,6 +13,7 @@ GOTO :END
|
||||
:NOOUTPUT
|
||||
echo -O2 -e%1.exe -I..\..\include ..\..\source\vm\hvm.c %1.c > b32.bc
|
||||
echo ..\..\libs\b32\harbour.lib ..\..\libs\b32\terminal.lib >> b32.bc
|
||||
echo ..\..\libs\b32\hbgt.lib >> b32.bc
|
||||
bcc32 @b32.bc
|
||||
del b32.bc
|
||||
GOTO :END
|
||||
|
||||
Reference in New Issue
Block a user