[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to test if a variable is something or empty?
From: |
Sam Ravnborg |
Subject: |
Re: How to test if a variable is something or empty? |
Date: |
Sat, 25 Oct 2008 17:30:20 +0200 |
User-agent: |
Mutt/1.4.2.1i |
>
> What I want my Makefile to do is the following. There could be three
> make file goals, 'c', 'g' and 'o', specified in the command line. If I
> don't specify anything in the command line, I want gmake choose the
> goal 'c' by default. Did Philip suggest not do this?
This is simple to do.
Just make sure c is your first goal in the Makefile - then make will
use it as default goal.
Sam