diff options
author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2020-12-16 20:31:56 -0500 |
---|---|---|
committer | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2020-12-16 20:31:56 -0500 |
commit | 166183d5ed73059922b9679b832b591dd6fa073b (patch) | |
tree | 9a5de6994d9b9f89833799ffc2ed293a9f43722d /tools/bin2c | |
parent | 345aab63cf2550646a6a56c2c8fe8473d5bf996a (diff) |
[Round 2] Apply all source related changes for the new INSTALL.md in one commit.
Diffstat (limited to 'tools/bin2c')
-rw-r--r-- | tools/bin2c/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/bin2c/Makefile b/tools/bin2c/Makefile index 52806e39c..4dbfab94f 100644 --- a/tools/bin2c/Makefile +++ b/tools/bin2c/Makefile @@ -6,10 +6,16 @@ CFLAGS = -Wall -Wextra -Werror -std=c11 -O2 SRCS = bin2c.c -all: bin2c +ifeq ($(OS),Windows_NT) +EXE := .exe +else +EXE := +endif + +all: bin2c$(EXE) @: -bin2c: $(SRCS) +bin2c$(EXE): $(SRCS) $(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS) clean: |