diff options
author | Matthew Wozniak <me@woz.blue> | 2024-11-03 00:20:45 -0400 |
---|---|---|
committer | Matthew Wozniak <me@woz.blue> | 2024-11-03 00:22:05 -0400 |
commit | 492aac484b5c65e5df21a7d1b1cf781063efef50 (patch) | |
tree | 01055654432f784c6d709690f0d6b7e175c3262d /Makefile | |
parent | d00096fe2ea3dd64cff9878879c077f23a783e4a (diff) | |
download | rt-492aac484b5c65e5df21a7d1b1cf781063efef50.tar.gz rt-492aac484b5c65e5df21a7d1b1cf781063efef50.zip |
purge CR from this project
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 |