A script generate basic Makefile
Project description
Gen-make
Generate-Makefile [ gen-make ], a script that generate's basic Makefile. The goal is to learn more about gnu make for writing more simpler rules.
Installation:
direct install:
pip3 install gen-make
or
clone and install:
cd Gen-make/
pip3 install .
Command usage:
gen-make [OPTIONS]
Design:
script :
- handles argument's from terminal.
- creates Makefile in current directory. do_makefile:
- get info about from the given directory.
- write rules using the info.
Gen-make argument's :
-H <path>
: adding header file path
-s <path>
: adding source file path
-o <path>
: target or executable file name
-l <path>
: adding linker library
-v
: modify the output verbosity
Test run:
Creating Makefile for the test directory file,
cd test/
gen-make -v
orgen-make -H test/ -s test/ -v
Tic-Tac-Toe
Tried generating Makefile for previous project.
gen-make -H include/ -s src/ -o tic-tac-toe -l lncurses -v
Check the commit of those repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Gen-make-1.0.1.tar.gz
.
File metadata
- Download URL: Gen-make-1.0.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47c9156072b5bc90b9bcf2427d498e1df35bbab5aa959389b6a015182c83d45a |
|
MD5 | 7d347c5f817d3432eb44ead591bcaecf |
|
BLAKE2b-256 | c924bf5b26e902c7f5501fddcf12f599942d46ff8d7b06d68762e57db704245c |
File details
Details for the file Gen_make-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: Gen_make-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63776086750c9d2f2823474dced05470fabc0183c851de800e0960f24df60d58 |
|
MD5 | 9ee0ebfeb496fe2b22e3195cd7fb044e |
|
BLAKE2b-256 | 916db0ca5a18f2409a7344cc17b8933a65fbf908fe8677866f69717c4aeb482d |