-
Notifications
You must be signed in to change notification settings - Fork 373
open-watcom: fix Open Watcom build make file #123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
207a20e
to
7d53dea
Compare
8d37495
to
ae38569
Compare
Hi/2. With this, the whole build is requested whenever calling wmake like:
And the following error occurs:
|
fd1c575
to
e9ed91f
Compare
cd12fec
to
1a9e6ab
Compare
I added autodepend info into object files to rebuild only what is necessary |
I don't understand why wcl386 tool was used, it only slowdown compilation and doesn't add any value in nasm makefile. |
0c2b705
to
ba10367
Compare
Still the full build is done whenever calling wmake on OS/2. |
There is issue with $(DIRS) dependency. |
cc0099a
to
cbe2db9
Compare
I fixed it and now dependency works OK and output subdirectories are created if not exists. |
That being said, the non-autoconf Makefiles aren't good practice either. That's why I would really love to see if someone have been able to use GNU make, autoconf, and owcc. However, OW really need to step up their game on C99 compliance if we are going to be able to keep supporting them. |
This caues the following error on OS/2:
Instead, it would be simpler and better to use
How about? |
64c503b
to
b96f1e3
Compare
Oh I forgot the trailing separator issue on OS/2. |
Thanks, it works! BTW, the commit e86773d was missed. |
I fixed it. I have a question if you prefer use of tabs or spaces in OW makefile? |
It works! and I prefer spaces. Thanks! |
I replace all tabs by spaces that it is finished. |
Thanks! |
If you are interested in ci-build by OW then below is copy of my test script for GitHub Actions
We are working on fixing OW C compiler to works with 64-bit items in switch statement then it will be possible to remove related hacks from nasm source. |
fix slashes (use only forward slash) to be portable between Windows and Linux host
fix source path for static and generated source files
add autodepend info into object files to rebuild only what is necessary
use wcc386 instead of wcl386, wcl386 has no sense only add one indirect layer more
wmake can use DLL version of OW tools that processing is faster on platforms which use DLL