/silly-make

Example extension to GNU Make

Primary LanguageC

answer

This make loadable module provides the answer to life, the universe and everything else for you to use in your Makefile.

all:
        @echo The answer to life, the universe and everything is $(answer ) #  notice the space after
        # $(answer) is the value of the variable answer
        # $(answer ) is the value of the function answer

# you can also ask question, though the answer will always be 42
questions:
        @echo $(answer "What is 2 + pi?")

load answer.so

This is an experiment, a joke a learning opportunity.