https://github.com/devilbox/makefiles
Common makefiles for Devilbox ecosystem
https://github.com/devilbox/makefiles
Last synced: 6 days ago
JSON representation
Common makefiles for Devilbox ecosystem
- Host: GitHub
- URL: https://github.com/devilbox/makefiles
- Owner: devilbox
- License: mit
- Created: 2022-03-02T13:14:17.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-05T05:28:16.000Z (almost 2 years ago)
- Last Synced: 2025-02-23T08:45:35.928Z (4 months ago)
- Size: 59.6 KB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Makefiles
Common Makefiles for Devilbox ecosystem.
## Usage in main Makefile
`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`:
```gitignore
Makefile.docker
Makefile.lint
```## License
**[MIT License](LICENSE)**
Copyright (c) 2022 [cytopia](https://github.com/cytopia)