* doc/gmake.txt
* doc/gtapi.txt
* doc/hbmake.txt
* doc/windll.txt
* Useless changes.
* make_vc.mak
* Some untested MT support for MSVC.
* include/hbdefs.h
! Removed mistakenly committed experiment to pull in
MT related libs. This caused the strange build problem due
to empty lib name passed to #pragma. This could work
in case someone wanted to deal with it in the future.
58 lines
1.8 KiB
Plaintext
58 lines
1.8 KiB
Plaintext
/*
|
|
* $Id$
|
|
*/
|
|
|
|
Hbmake Readme
|
|
|
|
|
|
Hbmake is an powerful make system for Harbour. It include an Editor mode for
|
|
the creation of the make file.
|
|
|
|
Hbmake support the follow Switchs
|
|
|
|
-b Use BCC as the C compiler. This options is default under Windows
|
|
-g Use GCC as the C compiler. This options is default under OS/2
|
|
-gl Use GCC as the C compiler on Linux
|
|
-v Use MSVC as the C compiler
|
|
-D Define an macro. Multiple macros can be used in an single line
|
|
Ex:
|
|
-DOB=c.obj;d.obj
|
|
and also Multiple -D is also supported
|
|
-p Print all command and defines
|
|
-f Force all files to be rebuild
|
|
-e Open the editor mode.
|
|
-ex Open the editor mode in extended mode
|
|
-el Open the editor mode for creating libraries.
|
|
-elx Open the editor mode for creating librariesin extented mode.
|
|
-i Ignore errors returned by commands
|
|
-r Recurse directories for source code
|
|
The hbmake dont support old styles .rmk/.lnk Files. hbmake create it own when the editor mode is used with include both compile and link sections on the same file.
|
|
|
|
Now How to use the editor mode
|
|
|
|
go to the directory from with the application source that you to
|
|
convert.
|
|
call hbmake <filename>.bc -e
|
|
this will evoke hbmake editor mode.
|
|
|
|
then select your OS,C Compiler
|
|
If you need an Graphic library such as FWH or C4W, select the appropiate box, if you also use rddads. also check this box.
|
|
|
|
Select the harbour compiler options that you also what to use, along
|
|
with
|
|
the defaut values
|
|
Select the files that will be part of your app
|
|
|
|
then select the main file
|
|
|
|
then the new make file is create.
|
|
then call hbmake <filename>.bc
|
|
|
|
If you have compiler errors use hbmake <filename>.bc -f
|
|
|
|
Linux user need to create the harbour.cfg file in /etc or /usr/local/etc with the follow lines
|
|
CC=gcc
|
|
CFLAGS=-c -I/usr/include/harbour (this line must match your harbour include directory)
|
|
VERBOSE=YES
|
|
DELTMP=YES
|