gvanem / Watt-32

Watt-32 TCP/IP library and samples.
https://www.watt-32.net/
18 stars 8 forks source link

replace OBJDIR macro by OBJPATH to remove dependency on path separator #48

Closed jmalak closed 4 years ago

gvanem commented 4 years ago

Why is the syntax $(OBJPATH)misc.obj better on Linux?

jmalak commented 4 years ago

there is not hardcoded path separator. This reference works the same way on all platforms DOS/Windows/Linux that you can use it for rules etc. By example watcom use path separator in dependency on host platform. For DOS/Windows host it is \ and on Linux it is /. If you have some hardcoded separator you need to do conditional code for each item with hardcoded separator.

gvanem commented 4 years ago

Oh boy; another conflict. Must do this by hand too.

gvanem commented 4 years ago

Closing and merging by hand. Thanks.