summaryrefslogtreecommitdiff
path: root/util/cbfstool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/cbfstool/Makefile')
-rw-r--r--util/cbfstool/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/util/cbfstool/Makefile b/util/cbfstool/Makefile
index 843e677503..0b61342bd2 100644
--- a/util/cbfstool/Makefile
+++ b/util/cbfstool/Makefile
@@ -1,9 +1,10 @@
obj ?= $(shell pwd)
-HOSTCXX ?= g++
-HOSTCC ?= gcc
-CFLAGS ?= -g
-
+HOSTCXX ?= g++
+HOSTCC ?= gcc
+CFLAGS ?= -g -Wall
+CXXFLAGS ?=-DCOMPACT $(CFLAGS)
+LDFLAGS ?= -g
BINARY:=$(obj)/cbfstool
@@ -44,9 +45,5 @@ clean:
tags:
ctags *.[ch]
-CXXFLAGS=-DCOMPACT -g
-CFLAGS=-g
-LDFLAGS=-g
-
$(obj)/cbfstool:$(COMMON)
$(HOSTCXX) $(LDFLAGS) -o $@ $^