Y
Hacker News
new
|
ask
|
show
|
jobs
by
thedumbname
1173 days 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.
3 comments
quesera
1173 days ago
You can resolve the differences between BSD and GNU make.
Not sure about Windows. I'd expect that WSL bundles GNU make, no?
link
jjgreen
1173 days 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.
link
raffraffraff
1172 days ago
Is that more of an issue if you shell-out a lot in your Makefile? (I don't use mac or win)
link
Not sure about Windows. I'd expect that WSL bundles GNU make, no?