Add msys2 and Cygwin instructions, also add .exe extension to built tools.

Todo: actually extensively test out msys2 and Cygwin, and double check the readme.
This commit is contained in:
luckytyphlosion
2020-11-26 20:21:16 -05:00
parent 59a6d18679
commit 976b967732
13 changed files with 213 additions and 36 deletions
+8 -2
View File
@@ -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: