bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

detecting if a Makefile is GNU make-ish


From: Alfred M. Szmidt
Subject: detecting if a Makefile is GNU make-ish
Date: Fri, 01 Jan 2021 11:02:22 -0500

Is there some way of detecting or specifying that a Makefile is GNU
make specific?  I'm kinda thinking of something similar to the .POSIX
directive.

I'm in a situation where got a bunch of Makefiles, some BSD makefile,
some GNU, some POSIX and to somehow handle this without having to
remeber if one is to type make, gmake, nmake, I want to create a small
wrapper that can sorta figure it out by itself.

Other ideas are welcome too ...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]