From 6db543a07dc820113c6f99020dfee871b6d0f75c Mon Sep 17 00:00:00 2001 From: Ivan Pang Date: Tue, 8 Dec 2015 20:53:41 -0600 Subject: util makefile updated to allow CC overrides Signed-off-by: Ivan Pang --- hfile2array/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hfile2array') diff --git a/hfile2array/Makefile b/hfile2array/Makefile index e2b2574..aead948 100755 --- a/hfile2array/Makefile +++ b/hfile2array/Makefile @@ -13,6 +13,8 @@ APP_EXT=.exe CLEAN=del endif +CCOVERRIDE ?= $(CC) + SRCS = $(wildcard *.c) EXES = $(patsubst %.c,%$(APP_EXT),$(SRCS)) @@ -23,6 +25,6 @@ clean: $(CLEAN) $(EXES) %$(APP_EXT): %.c - $(CC) $(CFLAGS) -o $@ $< + $(CCOVERRIDE) $(CFLAGS) -o $@ $< -- cgit v1.2.3