diff options
Diffstat (limited to 'tools/rsfont/Makefile')
-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 930a92b..0bc88a4 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: |