From d00096fe2ea3dd64cff9878879c077f23a783e4a Mon Sep 17 00:00:00 2001 From: Matthew Wozniak Date: Sun, 3 Nov 2024 00:16:00 -0400 Subject: find videomode --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 61e4b7d..db5c765 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,15 @@ CC = clang OBJS = main.o api.o 3p/sst/x86.o hook.o -WARNINGS=-Wpedantic -Wextra -Wno-gnu-zero-variadic-macro-arguments \ +WARNINGS=-Wall -Wpedantic -Wextra -Wno-gnu-zero-variadic-macro-arguments \ -D_CRT_SECURE_NO_WARNINGS +CFLAGS:=$(CFLAGS) -m32 -flto -I3p -std=c23 all: rt.exe rt.exe: $(OBJS) - $(CC) -m32 -fuse-ld=lld $(CFLAGS) $(LDFLAGS) $(OBJS) -o rt.exe + $(CC) -fuse-ld=lld $(CFLAGS) $(LDFLAGS) $(OBJS) -o rt.exe %.o: %.c - $(CC) -c -m32 -include stdbool.h -I3p -std=c23 $(WARNINGS) $(CFLAGS) $< -o $@ + $(CC) -c $(WARNINGS) $(CFLAGS) $< -o $@ clean: rm -f *.o 3p/sst/*.o *.exe *.pdb -- cgit v1.2.3-54-g00ecf