I think this is a question for users lists.
hbmk2 <Enter> you can see the usage of hbmk2

create an .hbp  file that contains.

-hblib creates static library
-o output file name.

and following list all the files that take part of the library

Then create another hpb that contains
-L the path where you put the above library
-l the name of the library
follow the list of prgs that you wish to include in your exe but do not take part of the library
If you download the sources of harbour you can see the examples how to 
build with hbmk2.
I do not know if this is the best way to do it, but it works for me.


Best regards

Maurizio








El 06/05/2010 02:37 p.m., Lorenzo Fiorini escribió:
I have to port some apps from C53+Fivewin16 to Harbour+Bcc+Fivewin32.

I'm trying to use hbmk2 to replace the old makefiles but I can't find
the proper solutions.

Where can I find some doc about hbmk2?

What I need are two simple things:

- create a lib from *.prg and *.c that are in a dir
- create an exe from *.prg and libs created in the step above

best regards,
Lorenzo
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to