From fb95177298bb92098b61f09b9f66c1fce32f2f02 Mon Sep 17 00:00:00 2001 From: Matthew Wozniak Date: Sun, 27 Oct 2024 23:28:51 -0400 Subject: add hooking and IVEngineServer interface --- Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 91fdac8..b03699c 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,13 @@ CC = clang -CFLAGS = -g -O2 -target i686-windows-msvc -include stdbool.h -LDFLAGS = -g -fuse-ld=lld -O2 -m32 -OBJS = main.o +OBJS = main.o api.o 3p/sst/x86.o hook.o +WARNINGS=-Wpedantic -Wno-gnu-zero-variadic-macro-arguments # clang is stupid! all: rt.exe - rt.exe: $(OBJS) - $(CC) $(LDFLAGS) $(OBJS) -o rt.exe + $(CC) -m32 -fuse-ld=lld $(LDFLAGS) $(OBJS) -o rt.exe %.o: %.c - $(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@ + $(CC) -c -m32 -include stdbool.h -std=c23 $(WARNINGS) $(CFLAGS) $< -o $@ clean: - rm -f *.o *.exe *.pdb + rm -f *.o 3p/sst/*.o *.exe *.pdb -- cgit v1.2.3-54-g00ecf