An open API service indexing awesome lists of open source software.

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

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)