Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 680 Bytes

README.md

File metadata and controls

37 lines (27 loc) · 680 Bytes

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