top | item 35331114

(no title)

thedumbname | 2 years ago

Use Makefile if you want to make your cross-platform build environment Linux only. You will have all kind of issues on Windows, Mac, *BSD, you name it.

discuss

order

quesera|2 years ago

You can resolve the differences between BSD and GNU make.

Not sure about Windows. I'd expect that WSL bundles GNU make, no?

jjgreen|2 years ago

Make is in POSIX, so stick to POSIX features and your Makefile is portable across all reasonable systems. For Windows, I guess you use a .bat file.

raffraffraff|2 years ago

Is that more of an issue if you shell-out a lot in your Makefile? (I don't use mac or win)