summaryrefslogtreecommitdiff
path: root/tools/bin2c
diff options
context:
space:
mode:
authorshinny <shinny456@users.noreply.github.com>2020-06-02 14:51:57 -0400
committershinny <shinny456@users.noreply.github.com>2020-06-02 14:51:57 -0400
commit4f88655a79bb2d8f10bdce2841f427c0e27040bd (patch)
treeb750e64b62cec61ca3a43da6aa7d4e3b37e64c9e /tools/bin2c
parentbc504264f1e54b3c1e482710c592e5549828bfe1 (diff)
update tools
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)