I have a project which uses the windows API on windows, and pthreads on every other platform.

How do I have my makefile add `-pthread` to my CFLAGS if I'm NOT targetting for windows? For compiling, I use [gcc (mingw and native), clang, icc], and for targets I have [GNU/Linux, BSD, Darwin, Windows].