Got the windows build mostly working

This commit is contained in:
Bill Rossi 2025-01-23 23:34:11 -05:00
parent 14fd15f776
commit 4ec13d8dff
10 changed files with 8211 additions and 10 deletions

View File

@ -1 +1,2 @@
fatal_text_adventure_linux
fatal_text_adventure_linux
fatal_text_adventure_linux.exe

View File

@ -1,7 +1,7 @@
CC=gcc
CFLAGS=-Wall -lraylib -lm -lpthread -ldl -lX11
BUTLER=../butler/butler
ITCH_CHANNEL=01-text-adventure-linux-x64-amd
CFLAGS=-I../include -L../lib -Wall -lraylib -lopengl32 -lgdi32 -lwinmm -lcomdlg32 -lole32
BUTLER=../butler/butler.exe
ITCH_CHANNEL=01-text-adventure-windows-x64
.PHONY: clean run butler_upload
@ -9,11 +9,8 @@ fatal_text_adventure_linux: data/actions.c data/rooms.c data/room_ins.c data/wor
$(CC) *.c $(CFLAGS) -o fatal_text_adventure_linux
data/%.c: data/%.txt
echo "char *data_$*_txt = " > data/$*.c
cat data/$*.txt | \
perl -pe 's/ *\| */|/g' | \
perl -pe 's/^/"/' | \
perl -pe 's/$$/\\n"/' >> data/$*.c
powershell "echo \"char *data_$*_txt = \"" > data/$*.c
powershell "cat data/$*.txt | perl -pe 's/ *\| */|/g' | perl -pe 's/^/\\\"/' | perl -pe 's/$/\\n\\\"/'" >> data/$*.c
echo ";" >> data/$*.c
run: fatal_text_adventure_linux
@ -24,4 +21,4 @@ clean:
rm -f ./data/*.c
butler_upload: fatal_text_adventure_linux
$(BUTLER) push ./fatal_text_adventure_linux bassguitarbill/fatal-distractions:$(ITCH_CHANNEL)
$(BUTLER) push ./fatal_text_adventure_linux.exe bassguitarbill/fatal-distractions:$(ITCH_CHANNEL)

BIN
butler/7z.dll Normal file

Binary file not shown.

BIN
butler/butler.exe Normal file

Binary file not shown.

BIN
butler/c7zip.dll Normal file

Binary file not shown.

2941
include/raymath.h Normal file

File diff suppressed because it is too large Load Diff

5262
include/rlgl.h Normal file

File diff suppressed because it is too large Load Diff

BIN
lib/libraylib.a Normal file

Binary file not shown.

BIN
lib/libraylibdll.a Normal file

Binary file not shown.

BIN
lib/raylib.dll Normal file

Binary file not shown.