Skip to content

Instantly share code, notes, and snippets.

View simon123h's full-sized avatar

Simon Hartmann simon123h

View GitHub Profile
@simon123h
simon123h / Makefile
Created March 2, 2018 11:20 — forked from maxtruxa/Makefile
Generic makefile for C/C++ with automatic dependency generation, support for deep source file hierarchies and custom intermediate directories.
# root dir of project
PROJECTROOT = ../..
# buildable targets
# matches against $(TARGETS).cpp files
# make all builds all targets
TARGETS := main
# hidden targets are not built on 'make all'
HIDDENTARGETS :=