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
- Host: GitHub
- URL: https://github.com/lostella/simplemakefile
- Owner: lostella
- Created: 2016-06-20T21:38:34.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-26T20:00:29.000Z (almost 10 years ago)
- Last Synced: 2025-10-28T00:55:28.620Z (7 months ago)
- Language: Makefile
- Homepage:
- Size: 1.95 KB
- Stars: 14
- Watchers: 1
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.