diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 34 |
1 files changed, 17 insertions, 17 deletions
@@ -1,17 +1,17 @@ -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
-
-all: rt.exe
-rt.exe: $(OBJS)
- $(CC) -fuse-ld=lld $(CFLAGS) $(LDFLAGS) $(OBJS) -o rt.exe
-
-%.o: %.c
- $(CC) -c $(WARNINGS) $(CFLAGS) $< -o $@
-
-clean:
- rm -f *.o 3p/sst/*.o *.exe *.pdb
-
-rebuild: clean all
+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 + +all: rt.exe +rt.exe: $(OBJS) + $(CC) -fuse-ld=lld $(CFLAGS) $(LDFLAGS) $(OBJS) -o rt.exe + +%.o: %.c + $(CC) -c $(WARNINGS) $(CFLAGS) $< -o $@ + +clean: + rm -f *.o 3p/sst/*.o *.exe *.pdb + +rebuild: clean all |