diff options
Diffstat (limited to 'yapymake/__init__.py')
-rw-r--r-- | yapymake/__init__.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/yapymake/__init__.py b/yapymake/__init__.py new file mode 100644 index 0000000..34221f2 --- /dev/null +++ b/yapymake/__init__.py @@ -0,0 +1,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) |