help-gnu-utils
[Top][All Lists]
Advanced

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

Re: Makefile 'abort' command? / 'elseif' to go with ifeq/else/endif? (Ma


From: Henrik Carlqvist
Subject: Re: Makefile 'abort' command? / 'elseif' to go with ifeq/else/endif? (Make newbie)
Date: Mon, 22 Jan 2007 23:23:21 +0100
User-agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)

"LiquidEyes" <news@liquideyes.net> wrote:
> I guess 'false' is a Unix/Linux command?

Yes, false as well as true are standard unix/linux commands.

> I couldn't find a Windows equivalent so I rolled my own. Works a treat!

As you already understand they are really simple programs, something like:

/* false.c */
int main(int argc, char **argv)
{
  return 1;
}

/* true.c */
int main(int argc, char **argv)
{
  return 0;
}

The true and false programs on my system is also capable of parsing two
command line arguments, "--help" and "--version", however that
functionality isn't that importand.

regards Henrik
-- 
The address in the header is only to prevent spam. My real address is:
hc8(at)uthyres.com Examples of addresses which go to spammers:
root@variousus.net root@localhost



reply via email to

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