| Paskvil.com | PaskvilBlog | PaskvilWiki | LinkedIn

genmake

simple makefile generator

The genmake script is a simple bash script for generation of Makefile's based on C/C++ source code files in current directory, using gcc -MM.

The genmake script supports:

Source code

View genmake.sh - download genmake.sh (18.59 kB)

Documentation

Introduction

The usage info is also available via genmake.sh -h.

Requirements

Details

Usage:

genmake.sh [options] exec
The resulting Makefile is printed to stdout. genmake currently supports building of executables, static libraries, and shared libraries. This choice is done based on format of exec parameter. Options: