In case native GCC is missing, inform user

This commit is contained in:
CTCaer
2020-12-20 21:34:43 +02:00
parent 52c65661d8
commit 2fba9848ae
3 changed files with 9 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
NATIVE_CC ?= gcc
ifeq (, $(shell which $(NATIVE_CC) 2>/dev/null))
$(error "Native GCC is missing. Please install it first. If it's path is custom, set it with export NATIVE_CC=<path to native gcc toolchain>")
endif
.PHONY: all clean
all: bin2c