diff options
author | Ivan Pang | 2015-12-08 20:53:41 -0600 |
---|---|---|
committer | Ivan Pang | 2015-12-08 20:53:41 -0600 |
commit | 6db543a07dc820113c6f99020dfee871b6d0f75c (patch) | |
tree | 1dd9d3eda3dbc2eec5a7879e9738dd48015792b4 /bttbl2hfile | |
parent | b32603174e961730ed2b0bdf7868ef5db372a668 (diff) | |
download | mcsdk-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 'bttbl2hfile')
-rwxr-xr-x | bttbl2hfile/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bttbl2hfile/Makefile b/bttbl2hfile/Makefile index e2b2574..aead948 100755 --- a/bttbl2hfile/Makefile +++ b/bttbl2hfile/Makefile | |||
@@ -13,6 +13,8 @@ APP_EXT=.exe | |||
13 | CLEAN=del | 13 | CLEAN=del |
14 | endif | 14 | endif |
15 | 15 | ||
16 | CCOVERRIDE ?= $(CC) | ||
17 | |||
16 | SRCS = $(wildcard *.c) | 18 | SRCS = $(wildcard *.c) |
17 | EXES = $(patsubst %.c,%$(APP_EXT),$(SRCS)) | 19 | EXES = $(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 | ||