Metadata-Version: 2.1
Name: zomake
Version: 0.1.0
Summary: A C/C++ build system that generates Makefiles.
Home-page: https://github.com/IY314/zomake
Author: Isaac Yee
Author-email: isaac.cl.yee@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE

# ZoMake
A Python package to generate Makefiles for C/C++.

Other languages will be added later.

## Installation
```sh
python3 -m pip install zomake
```

## Usage
Create a ZoMakefile.py:
```py
import zo

target = zo.Target(lang='c')

target.sources(f'{zo.root()}/src',
    'main.c'
)

target.include(f'{zo.root()}/include')
target.compile(f'{zo.root()}/build')

target()
```

To generate a Makefile:
```sh
python3 ZoMakeFile.py init
```

To build:
```sh
python3 ZoMakeFile.py build
```
