A new make script for builds.
Project description
Neomake
基于Python的底层构建系统。
示例
项目目录:
.
├── lib.c
├── main.c
└── nmake.py
nmake.py
#!/usr/bin/python -B
from neomake import *
def make_main(target, deplist):
C(deplist, target)
main = Target('main', ['lib.c', 'main.c'], make_main)
start_neomake()
if 'build' in sys.argv:
main.make()
elif 'clear' in sys.argv:
main.clear()
end_neomake()
构建项目:
$ ./nmake.py build
gcc lib.c main.c --> main
清理生成的额外文件:
$ ./nmake.py clear
removing main
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
neomake-0.0.4.tar.gz
(5.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file neomake-0.0.4.tar.gz.
File metadata
- Download URL: neomake-0.0.4.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47f09044b46d4847cb6d9f584f9fc7e6dcaaa27a42c5e39ef3f7c72d72f67adb
|
|
| MD5 |
adf1c283e55711333f4e39a817e32943
|
|
| BLAKE2b-256 |
344e5ce5297410fd78e3b67e7c90f95b4ef96c4028fa38be465ff5dd6ced68eb
|
File details
Details for the file neomake-0.0.4-py3-none-any.whl.
File metadata
- Download URL: neomake-0.0.4-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8bb00fc9c7a0d12b4c344bc820e0b9aa6735c3ed948bf8b4d602541e0defb4d
|
|
| MD5 |
bde8a947b7e91d2d34b39865344c81c5
|
|
| BLAKE2b-256 |
890d0f2f64978918cdaffa46b3c8a9b54d90029ca2092500b38ae9a9e16ba86c
|