Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAD - Make ADvanced (not really yet)

MAD is a build system that repeats Make but tries to be more obvious in syntax and a bit extended.
Was started as Perl probe project.

Example

Example for C.
MADFile:

recipe debug {
    # Defining variable: name must be uppercase, then just 
    # list all contents by whitespaces
    INPUT = file.c helper.c last.c 
    OUTPUT = program
    CC = gcc
    # CMD command runs some command 
    # use .NAME syntax to expand variable
    CMD .CC .INPUT -o .OUTPUT
} end;
# For more advanced (or not) example, see MADFile in repo

Run it:

perl mad.pl debug

Or, using shebang:

./mad.pl 

You may also:

# Check recipes list 
mad.pl list
# Check recipes list with their helps
mad.pl list help
# Check help (comment) about the recipe 
mad.pl recipe help

About

this build system is really MAD

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages