0

I have a Makefile that is intended to be used both on Linux and Windows. I need to be able to somehow distinguish between platforms to be able to alternate targets for them.

Another possible difficulty could be that this makefile could be run inside Cygwin or Git bash on Windows, but it still should be able to know, that it's on Windows and not break.

How do I do such a thing?

Mike Kinghan
  • 55,740
  • 12
  • 153
  • 182
Ray P.
  • 875
  • 1
  • 9
  • 24

0 Answers0