In case native GCC is missing, inform user

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

No files matched your search

+4
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