All Projects → Melinysh → Pymake

Melinysh / Pymake

Licence: other
A Makefile generator in Python

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Pymake

Rust Ffi Examples
FFI examples written in Rust
Stars: ✭ 831 (+5093.75%)
Mutual labels:  makefile
Armhf Registry
Minimal Docker Registry image the ARM architecture
Stars: ✭ 7 (-56.25%)
Mutual labels:  makefile
Python Mk
A Makefile that contains the seed of a python development environment.
Stars: ✭ 16 (+0%)
Mutual labels:  makefile
Docker Debootstrap Builder
🐳 Build a debootstrap based distribution from Docker (ubuntu, debian)
Stars: ✭ 6 (-62.5%)
Mutual labels:  makefile
Thunderbird Flatpak
Resources to build Mozilla Thunderbird as a flatpak
Stars: ✭ 7 (-56.25%)
Mutual labels:  makefile
Ansible Freeipa
An Ansible playbook for configuring FreeIPA server(s) and clients.
Stars: ✭ 7 (-56.25%)
Mutual labels:  makefile
Vmware Host Modules
Patches needed to build VMware (Player and Workstation) host modules against recent kernels
Stars: ✭ 828 (+5075%)
Mutual labels:  makefile
Crazyarcade
A coco2d-x game
Stars: ✭ 16 (+0%)
Mutual labels:  makefile
Rtspcamera
android rtsp camera
Stars: ✭ 7 (-56.25%)
Mutual labels:  makefile
Device xiaomi cepheus
Stars: ✭ 16 (+0%)
Mutual labels:  makefile
Rutgersclasses
a Repo for CS assignments
Stars: ✭ 6 (-62.5%)
Mutual labels:  makefile
Ovirt Live
This is a mirror for http://gerrit.ovirt.org, for issues use http://bugzilla.redhat.com
Stars: ✭ 6 (-62.5%)
Mutual labels:  makefile
Disco
decentralized infrastructure for serverless computing operations
Stars: ✭ 16 (+0%)
Mutual labels:  makefile
Bad idea
this is a bad idea
Stars: ✭ 6 (-62.5%)
Mutual labels:  makefile
League Gothic
A revival of an old classic, Alternate Gothic #1
Stars: ✭ 887 (+5443.75%)
Mutual labels:  makefile
Docker Alpine S6
Docker Alpine Linux images with s6 init
Stars: ✭ 6 (-62.5%)
Mutual labels:  makefile
Docker Coreos Img
🐳 CoreOS image in a docker image
Stars: ✭ 7 (-56.25%)
Mutual labels:  makefile
Docker Release Toolkit
My personal toolkit for building releases with Docker
Stars: ✭ 16 (+0%)
Mutual labels:  makefile
Redash Kubernetes
Kubernetes setup for Redash
Stars: ✭ 16 (+0%)
Mutual labels:  makefile
Hdpslam
The implementation of HDP SLAM
Stars: ✭ 16 (+0%)
Mutual labels:  makefile

PyMake

A Makefile Generator

PyMake generates a Makefile for the files of the current working directory or the specified directory. Currently works with C, C++, Fortran and Go files. You can declare your compiler or PyMake will try to detect gcc, g++, gfortran or go build for the compiler. PyMake builds a Makefile that uses variables, so you don't have to rerun PyMake to modify your Makefile. In version 0.3, PyMake started supporting configuration files and to learn more, see the section below.

Usage

Usage: pymake.py [ -bcdfihostvx ]

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -b BUILDDIR, --build-dir=BUILDDIR
                        set build directory for project to use. Default: .
  -c COMPILER, --compiler=COMPILER
                        set compiler to use. Default: PyMake will look at your
                        files and guess, if it can't then it will use gcc
  -d DIRECTORY, --directory=DIRECTORY
                        directory for pymake to create Makefile for. Default:
                        .
  -f FLAGS, --flags=FLAGS
                        flags for the compiler and typed within quotes
  -i INSTALLPATH, --install-dir=INSTALLPATH
                        directory for 'make install'. Default: /usr/local/bin
  -o OUTPUTFILE, --output-target=OUTPUTFILE
                        output file name from compiler. Default: a.out
  -s SRCDIR, --source-dir=SRCDIR
                        set source directory for project to use. Default: .
  -t FILETYPE, --file-type=FILETYPE
                        the file type of your source files (ex. c, cpp, go).
                        Default: pymake will look at your files and guess
  -v                    enable verbose output
  -x CONFIGFILE, --config-file=CONFIGFILE
                        path to pymake config file. Default: ~/.pymake.cfg

Recent updates

Version 0.6.2:

  • Use python3 as default

Version 0.6:

  • Python 3 support

Version 0.5:

  • Support for project layouts that include directories like src and build
    • Can be set by commandline flags
  • Reworked some Makefile generation code to simplify

Version 0.4.4:

  • Added make run so your project can be built and run in one command

Version 0.4.2:

  • Added -t flag for specifying your source file type

Version 0.4:

  • Support for partial recompilation (Yay!)
  • Support for verbose output
  • Support for specifying the path to a config file

Using the configuration file

Since version 0.3, PyMake supports reading a configuration file. This file, .pymake.cfg, can be placed in your home directory or specified with the -x flag. If found, PyMake will use the configuration options (compiler, flags, installation directory) over passed commandline options. The file should be formatted similar to a .ini file with sections named after the file extension of that programming language (ex. c, cpp). See the sample configuration file for an example. Future revisions to PyMake will increase the flexibility of the use of a configuration file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].