All Projects → ysoftwareab → core.inc.mk

ysoftwareab / core.inc.mk

Licence: Unlicense license
My utility belt `Makefile` (and my memory belt in docs)

Programming Languages

Makefile
30231 projects

Projects that are alternatives of or similar to core.inc.mk

automake
Mirror of git://git.savannah.gnu.org/automake.git
Stars: ✭ 36 (+157.14%)
Mutual labels:  make, gnu
stantargets
Reproducible Bayesian data analysis pipelines with targets and cmdstanr
Stars: ✭ 31 (+121.43%)
Mutual labels:  make
laravel-make-me
Extendable Interactive Make Command for Laravel
Stars: ✭ 36 (+157.14%)
Mutual labels:  make
libs-opal
Opal is a vector drawing library with an API similar to Quartz 2D built on top of Cairo.
Stars: ✭ 17 (+21.43%)
Mutual labels:  gnu
guile-gi
Bindings for GObject Introspection and libgirepository for Guile
Stars: ✭ 49 (+250%)
Mutual labels:  gnu
makego
Makefile setup for our Golang projects.
Stars: ✭ 65 (+364.29%)
Mutual labels:  make
opencv3-setup
Raspberry Pi whiptail Menu driven Easy Install and Compile of opencv3 python from source files.
Stars: ✭ 47 (+235.71%)
Mutual labels:  make
cati
Cati Unix Package Manager
Stars: ✭ 19 (+35.71%)
Mutual labels:  gnu
Darkside
Exploring Dark-sides of the C language (GNU C99)
Stars: ✭ 17 (+21.43%)
Mutual labels:  gnu
makefiles
No description or website provided.
Stars: ✭ 23 (+64.29%)
Mutual labels:  make
up
UP - Ultimate Provisioner CLI
Stars: ✭ 43 (+207.14%)
Mutual labels:  make
dotfiles
[Mirror] Configuration files for Emacs and some other programs. Running on Arch Linux. Managed with GNU Stow.
Stars: ✭ 37 (+164.29%)
Mutual labels:  gnu
rebuild
Zero-dependency, reproducible build environments
Stars: ✭ 48 (+242.86%)
Mutual labels:  make
Arduino-CMake-Toolchain
CMake toolchain for all Arduino compatible boards
Stars: ✭ 108 (+671.43%)
Mutual labels:  make
make
Makefiles
Stars: ✭ 31 (+121.43%)
Mutual labels:  make
open-heroes
Some people that facilitate science, one way or the other
Stars: ✭ 37 (+164.29%)
Mutual labels:  gnu
make
The Ultimate Makefile to compile all your C, C++, Assembly and Fortran projects
Stars: ✭ 41 (+192.86%)
Mutual labels:  make
gnuxc
GNU OS Cross-Compiler
Stars: ✭ 13 (-7.14%)
Mutual labels:  gnu
uDevkit-IDE
An IDE for uDevkit or C/C++ projects with Git written in Qt5
Stars: ✭ 15 (+7.14%)
Mutual labels:  make
fate
Fate is a modern science chinese name create tool.
Stars: ✭ 1,974 (+14000%)
Mutual labels:  make

core.inc.mk

I make (pun) a lot of things, and I want to keep them DRY.

The docs folder has some tips and tricks as well.

Usage

I would have this repository as a submodule e.g. as a core.inc.mk folder, and then fetch the submodule, if not already there, and reference it at the top of the real Makefile, just after setting the TOP (root path for the current project):

ifeq (,$(wildcard core.inc.mk/Makefile))
INSTALL_CORE_INC_MK := $(shell git submodule update --init --recursive core.inc.mk)
ifneq (,$(filter undefine,$(.FEATURES)))
undefine INSTALL_CORE_INC_MK
endif
endif

TOP := $(abspath $(shell dirname $(lastword $(MAKEFILE_LIST))))
include core.inc.mk/Makefile

Similarly, if I just want bits and pieces of this:

ifeq (,$(wildcard core.inc.mk/Makefile))
INSTALL_CORE_INC_MK := $(shell git submodule update --init --recursive core.inc.mk)
ifneq (,$(filter undefine,$(.FEATURES)))
undefine INSTALL_CORE_INC_MK
endif
endif

include core.inc.mk/core.inc.mk
include core.inc.mk/target.help.inc.mk

Ref

License

Unlicense

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].