An open API service indexing awesome lists of open source software.

https://github.com/lostella/simplemakefile

a simple Makefile template for small-medium C/C++ projects
https://github.com/lostella/simplemakefile

Last synced: 4 months ago
JSON representation

a simple Makefile template for small-medium C/C++ projects

Awesome Lists containing this project

README

          

# SimpleMakefile

Template `Makefile` for small- and medium-sized C/C++ projects.

This `Makefile` assumes that all source files (.c or .cpp) are in the same directory, will compile each one of them separately and then link the resulting objects together in the executable.

### Usage

1. Put `Makefile` in the directory of your C/C++ project.
2. Edit the first lines (compiler to use, name of the target, list of source files).
3. Hit `make` in the terminal.