Skip to content

Instantly share code, notes, and snippets.

View ritaritual's full-sized avatar
🐢
Pew!

Rita Wójtowicz ritaritual

🐢
Pew!
View GitHub Profile
@maxtruxa
maxtruxa / Makefile
Last active May 12, 2024 21:49
Generic makefile for C/C++ with automatic dependency generation, support for deep source file hierarchies and custom intermediate directories.
# output binary
BIN := test
# source files
SRCS := \
test.cpp
# files included in the tarball generated by 'make dist' (e.g. add LICENSE file)
DISTFILES := $(BIN)