Re: Makefile 'abort' command? / 'elseif' to go with ifeq/else/endif? (Make newbie)
Henrik Carlqvist <[email protected]>
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Organization | SunSITE.dk - Supporting Open source |
| Message-ID | <[email protected]> |
"LiquidEyes" <[email protected]> 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: [email protected] root@localhost