Skip to content

IY314/zomake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZoMake

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

Other languages will be added later.

Installation

python3 -m pip install zomake

Usage

Create a ZoMakefile.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:

python3 ZoMakeFile.py init

To build:

python3 ZoMakeFile.py build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages