Skip to content

devilbox/makefiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

14813d5 · Nov 8, 2022

History

42 Commits
Oct 24, 2022
Oct 24, 2022
Mar 2, 2022
Nov 8, 2022
Oct 24, 2022
Oct 24, 2022

Repository files navigation

Makefiles

Common Makefiles for Devilbox ecosystem.

Usage in main Makefile

Makefile:

ifneq (,)
.error This Makefile requires GNU Make.
endif

# Ensure additional Makefiles are present
MAKEFILES = Makefile.docker Makefile.lint
$(MAKEFILES): URL=https://raw.githubusercontent.com/devilbox/makefiles/master/$(@)
$(MAKEFILES):
	@if ! (curl --fail -sS -o $(@) $(URL) || wget -O $(@) $(URL)); then \
		echo "Error, curl or wget required."; \
		echo "Exiting."; \
		false; \
	fi
include $(MAKEFILES)

.gitignore:

Makefile.docker
Makefile.lint

License

MIT License

Copyright (c) 2022 cytopia