From a2f7e37d8adf2047e1f3b0ea1227ac9d51514783 Mon Sep 17 00:00:00 2001 From: Matthew Wozniak Date: Fri, 1 Nov 2024 13:47:31 -0400 Subject: play demo using the demoplayer object --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b03699c..61e4b7d 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,16 @@ CC = clang OBJS = main.o api.o 3p/sst/x86.o hook.o -WARNINGS=-Wpedantic -Wno-gnu-zero-variadic-macro-arguments # clang is stupid! +WARNINGS=-Wpedantic -Wextra -Wno-gnu-zero-variadic-macro-arguments \ + -D_CRT_SECURE_NO_WARNINGS all: rt.exe rt.exe: $(OBJS) - $(CC) -m32 -fuse-ld=lld $(LDFLAGS) $(OBJS) -o rt.exe + $(CC) -m32 -fuse-ld=lld $(CFLAGS) $(LDFLAGS) $(OBJS) -o rt.exe %.o: %.c - $(CC) -c -m32 -include stdbool.h -std=c23 $(WARNINGS) $(CFLAGS) $< -o $@ + $(CC) -c -m32 -include stdbool.h -I3p -std=c23 $(WARNINGS) $(CFLAGS) $< -o $@ clean: rm -f *.o 3p/sst/*.o *.exe *.pdb + +rebuild: clean all -- cgit v1.2.3-54-g00ecf