diff options
author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2021-05-29 10:29:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-29 10:29:15 -0400 |
commit | 823c862e4fd768e0622afcb26da1b28e4806a3d8 (patch) | |
tree | b7834a4b1aad6a7cc298b7b6d4d242a7cfe36126 /tools/rsfont | |
parent | c9c558606899f898c7b14ad4a35f19ce2831d66a (diff) | |
parent | c5b262159d204c63ae0452d5989cb7ecbe12476d (diff) |
Merge pull request #1274 from luckytyphlosion/master
Improve INSTALL.md
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: |