diff options
author | Melody Horn <melody@boringcactus.com> | 2021-03-25 17:24:53 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-03-25 17:24:53 -0600 |
commit | cdb84fd4bd0ae86d3a84ad81f299a4116ceb2fae (patch) | |
tree | 4c92c3f97bbc9a3284c3a53582d2b52334dc57c9 /yapymake/__init__.py | |
download | yapymake-cdb84fd4bd0ae86d3a84ad81f299a4116ceb2fae.tar.gz yapymake-cdb84fd4bd0ae86d3a84ad81f299a4116ceb2fae.zip |
catch up with rust version, mostly
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) |