&& gobble $(@F) > ../$@</code></pre>

<h2>Strings</h2>
<pre><code>STR = 'A string!'

HELLO = 'hello \
world'

HELLO2 = "hello \
world"</code></pre>

<h2>Directives</h2>
<pre><code>include foo *.mk $(bar)

vpath %.c foo

override define two-lines =
foo
$(bar)
endef

ifeq ($(CC),gcc)
  libs=$(libs_for_gcc)
else
  libs=$(normal_libs)
endif</code></pre>

<h2>Functions</h2>
<pre><code>whoami    := $(shell whoami)
host-type := $(shell arch)

y = $(subst 1,2,$(x))

dirs := a b c d
files := $(foreach dir,$(dirs),$(