aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5001b4b..94bf072 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,10 @@
CC = clang
-OBJS = main.o api.o 3p/sst/x86.o hook.o
WARNINGS=-Wall -Wpedantic -Wextra -Wno-gnu-zero-variadic-macro-arguments \
-D_CRT_SECURE_NO_WARNINGS
-CFLAGS:=$(CFLAGS) -m32 -flto -I3p -std=c23
+override CFLAGS+=-m32 -flto -I3p -std=c23
+override LDFLAGS+=-lmf -lmfplat -lmfuuid -lmfreadwrite -lstrmiids
+
+OBJS = main.o api.o 3p/sst/x86.o 3p/ms/getopt.o hook.o render.o
all: rt.exe
rt.exe: $(OBJS)