Skip to main content

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 or
  • gen-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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Gen-make-1.0.1.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

Gen_make-1.0.1-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page