mirror of
https://github.com/cc65/cc65.git
synced 2024-11-12 07:07:19 +00:00
699ba1fbd6
require bash
35 lines
440 B
Makefile
35 lines
440 B
Makefile
|
|
ifneq ($(shell echo),)
|
|
CMD_EXE = 1
|
|
endif
|
|
|
|
ifdef CMD_EXE
|
|
|
|
.PHONY: checkstyle
|
|
|
|
checkstyle:
|
|
$(info INFO: style checks require bash.)
|
|
|
|
else
|
|
|
|
.PHONY: checkstyle lineendings tabs lastline spaces noexec
|
|
|
|
checkstyle: lineendings tabs lastline spaces noexec
|
|
|
|
lineendings: lineendings.sh
|
|
@./lineendings.sh
|
|
|
|
tabs: tabs.sh
|
|
@./tabs.sh
|
|
|
|
lastline: lastline.sh
|
|
@./lastline.sh
|
|
|
|
spaces: spaces.sh
|
|
@./spaces.sh
|
|
|
|
noexec: noexec.sh
|
|
@./noexec.sh
|
|
|
|
endif
|