[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How do I do this?
From: |
Andy Voelkel |
Subject: |
How do I do this? |
Date: |
Wed, 12 Nov 2003 23:40:03 -0800 |
The "if" and "for" functions in GNU make don't do what I'm used to.
Specifically, they don't seem friendly with command lines, when you want
many command lines to be executed. For instance:
all:
$(if TRUE, \
echo "first command" \
echo "second command" \
)
The $(if) command removes the newlines, which isn't what I want. Is
there a way to get this sort of thing to work?
Thanks in advance!
- Andy Voelkel
- How do I do this?,
Andy Voelkel <=