From 69abc2b48a453d5b889c7da2e79e6d8b4a96ee73 Mon Sep 17 00:00:00 2001 From: Kyle Campbell Date: Wed, 24 Sep 2025 14:27:36 -0600 Subject: [PATCH 1/3] added makefile --- Win32/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Win32/Makefile diff --git a/Win32/Makefile b/Win32/Makefile new file mode 100644 index 0000000..6e4a917 --- /dev/null +++ b/Win32/Makefile @@ -0,0 +1,13 @@ +CC = gcc +CFLAGS = -Wall -O2 +OBJS = main.o input.o output.o debug.o +TARGET = tsl + +$(TARGET): $(OBJS) + $(CC) -o $(TARGET) $(OBJS) + +%.o: %.c + $(CC) $(CFLAGS) -c $< -o $@ + +clean: + rm -f $(OBJS) $(TARGET) From ef8ee573b9edfb0db0aae22094b143ecad65893a Mon Sep 17 00:00:00 2001 From: Kyle Campbell Date: Wed, 24 Sep 2025 14:33:30 -0600 Subject: [PATCH 2/3] added makefile --- Win32/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Win32/Makefile b/Win32/Makefile index 6e4a917..b2f2951 100644 --- a/Win32/Makefile +++ b/Win32/Makefile @@ -10,4 +10,4 @@ $(TARGET): $(OBJS) $(CC) $(CFLAGS) -c $< -o $@ clean: - rm -f $(OBJS) $(TARGET) + rm -f $(OBJS) $(TARGET) \ No newline at end of file From f5a03a0cb1387e81bfc93987a792f2d131a855e7 Mon Sep 17 00:00:00 2001 From: Kyle Campbell Date: Wed, 24 Sep 2025 16:19:01 -0600 Subject: [PATCH 3/3] removed unconditional exit() call that caused program to exit on all inputs with conditions --- Win32/input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Win32/input.c b/Win32/input.c index c3f0210..7e8e0c6 100644 --- a/Win32/input.c +++ b/Win32/input.c @@ -246,8 +246,8 @@ Property* parse_property( char* name, size_t length, boolean add_prop ) return props[ tot_props++ ]; } - printf( "\nThe property '%s' is not defined.\nQuitting\n\n", tmp_name ); - exit( EXIT_FAILURE ); + // printf( "\nThe property '%s' is not defined.\nQuitting\n\n", tmp_name ); + // exit( EXIT_FAILURE ); }