From cdb84fd4bd0ae86d3a84ad81f299a4116ceb2fae Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Thu, 25 Mar 2021 17:24:53 -0600 Subject: catch up with rust version, mostly --- yapymake/__init__.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 yapymake/__init__.py (limited to 'yapymake/__init__.py') 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) -- cgit v1.2.3