summaryrefslogtreecommitdiff
path: root/tools/bin2c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bin2c')
-rw-r--r--tools/bin2c/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/bin2c/Makefile b/tools/bin2c/Makefile
index 73f7898..52806e3 100644
--- a/tools/bin2c/Makefile
+++ b/tools/bin2c/Makefile
@@ -1,11 +1,14 @@
-CC = gcc
+CC ?= gcc
CFLAGS = -Wall -Wextra -Werror -std=c11 -O2
-.PHONY: clean
+.PHONY: all clean
SRCS = bin2c.c
+all: bin2c
+ @:
+
bin2c: $(SRCS)
$(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS)