aboutsummaryrefslogtreecommitdiff
path: root/yapymake/__init__.py
blob: 34221f21906cc038beebead6c760fc38c12534f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
VERSION = '0.1.0'
DESCRIPTION = 'A (mostly) POSIX-compatible make implemented in Python'

from .args import parse
from .makefile import Makefile

def main():
    these_args = parse()
    file = Makefile(these_args)
    # TODO dump command line into MAKEFLAGS
    # TODO dump command line macros into environment
    # TODO handle SHELL
    for input_file in these_args.makefile:
        file.read(input_file)