[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inserting a '\' into a pattern rule command
From: |
Martin Willers |
Subject: |
Re: Inserting a '\' into a pattern rule command |
Date: |
Sun, 4 Nov 2007 13:26:04 +0200 |
User-agent: |
KMail/1.9.1 |
> > Another option is to remove the '@', instead (this is almost exactly
> > how it is specified in the Makefile for the Linux kernel) -
> >
> > [...]
> You could just do it like this...
>
> ifeq ($(SHOW_CMD),1)
> Q =
> else
> Q = @
> endif
>
> all:
> @echo hey
> $(Q)blah blah blah
Well, that was indeed simple. Thank you very much!
--
Martin Willers