blob: 91fdac8a697b4696c41dd682ee6d96dc81bd613d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
CC = clang
CFLAGS = -g -O2 -target i686-windows-msvc -include stdbool.h
LDFLAGS = -g -fuse-ld=lld -O2 -m32
OBJS = main.o
all: rt.exe
rt.exe: $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) -o rt.exe
%.o: %.c
$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
clean:
rm -f *.o *.exe *.pdb
|