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/rsfont | |
parent | 345aab63cf2550646a6a56c2c8fe8473d5bf996a (diff) |
[Round 2] Apply all source related changes for the new INSTALL.md in one commit.
Diffstat (limited to 'tools/rsfont')
-rw-r--r-- | tools/rsfont/Makefile | 10 |
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: |