4 ms·
yes it is good to adapt to your target audience. If that is linux users a makefile might be the best. For a lot of other users like javascript web developers np
by jbergens 10y ago
yes it is good to adapt to your target audience. If that is linux users a makefile might be the best. For a lot of other users like javascript web developers npm might be better. For end users on windows an msi or exe installation file is probably best.
Makefiles are unusual on windows which makes them a somewhat bad solution even for developers on windows machines. If you want to create system that works on multiple platforms there are probably better ways. At least make sure to not use some *nix-only syntax in the makefile or calling grep or awk.
- JdeBP 10y agoMakefiles are only considered unusual on Windows if one ignores decades of .MAK files. (-: