Example I am going to make a compiler for a small subset of the Make(1) language. It accepts simple Makefiles like this: # my awesome example pooka=fiddle faddle zug=bleh $(pooka) main: foo $(zug) gcc -o $@ $< foo: bar.o baz.o bleh.o $(zug) gcc -o foo bar.o baz.o $(pooka) bleh.o