summaryrefslogtreecommitdiff
path: root/tools/rsfont
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 21:24:44 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 21:24:44 -0500
commit3d686116d8acb9f3daa1db9669de6eca11a861d5 (patch)
tree6b85da1107d36ec37c33bbca7fd55a97d071db67 /tools/rsfont
parent5a5acfb0ada48c89d1e398dea3fd3ef701213b60 (diff)
[Round 3] Apply all source related changes for the new INSTALL.md in one commit.
Diffstat (limited to 'tools/rsfont')
-rw-r--r--tools/rsfont/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/rsfont/Makefile b/tools/rsfont/Makefile
index 930a92b36..0bc88a42b 100644
--- a/tools/rsfont/Makefile
+++ b/tools/rsfont/Makefile
@@ -8,10 +8,16 @@ SRCS = main.c convert_png.c util.c font.c
.PHONY: all clean
-all: rsfont
+ifeq ($(OS),Windows_NT)
+EXE := .exe
+else
+EXE :=
+endif
+
+all: rsfont$(EXE)
@:
-rsfont: $(SRCS) convert_png.h gfx.h global.h util.h font.h
+rsfont$(EXE): $(SRCS) convert_png.h gfx.h global.h util.h font.h
$(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS) $(LIBS)
clean: