TE smol edition

Makefile made by dennthecafebabe
This commit is contained in:
suchmememanyskill
2021-01-31 19:59:28 +01:00
parent 853cf4f5cf
commit 3499ad1549
14 changed files with 1078 additions and 6 deletions

16
tools/bin2c/Makefile Normal file
View File

@@ -0,0 +1,16 @@
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
@echo > /dev/null
clean:
@rm -f bin2c
bin2c: bin2c.c
@$(NATIVE_CC) -o $@ bin2c.c