summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Pang2015-12-08 20:53:41 -0600
committerIvan Pang2015-12-08 20:53:41 -0600
commit6db543a07dc820113c6f99020dfee871b6d0f75c (patch)
tree1dd9d3eda3dbc2eec5a7879e9738dd48015792b4 /hfile2array/Makefile
parentb32603174e961730ed2b0bdf7868ef5db372a668 (diff)
downloadmcsdk-tools-6db543a07dc820113c6f99020dfee871b6d0f75c.tar.gz
mcsdk-tools-6db543a07dc820113c6f99020dfee871b6d0f75c.tar.xz
mcsdk-tools-6db543a07dc820113c6f99020dfee871b6d0f75c.zip
util makefile updated to allow CC overrides
Signed-off-by: Ivan Pang <i-pang@ti.com>
Diffstat (limited to 'hfile2array/Makefile')
-rwxr-xr-xhfile2array/Makefile4
1 files changed, 3 insertions, 1 deletions
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
13CLEAN=del 13CLEAN=del
14endif 14endif
15 15
16CCOVERRIDE ?= $(CC)
17
16SRCS = $(wildcard *.c) 18SRCS = $(wildcard *.c)
17EXES = $(patsubst %.c,%$(APP_EXT),$(SRCS)) 19EXES = $(patsubst %.c,%$(APP_EXT),$(SRCS))
18 20
@@ -23,6 +25,6 @@ clean:
23 $(CLEAN) $(EXES) 25 $(CLEAN) $(EXES)
24 26
25%$(APP_EXT): %.c 27%$(APP_EXT): %.c
26 $(CC) $(CFLAGS) -o $@ $< 28 $(CCOVERRIDE) $(CFLAGS) -o $@ $<
27 29
28 30