Metadata-Version: 2.1
Name: Gen-make
Version: 1.0.1
Summary: A script generate basic Makefile
Home-page: https://github.com/Ideas100/Gen-make
Author: Pravin Raghul
Author-email: pravinraghul@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/markdown

# 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.


