comparison Makefile @ 66:c8b91b8c2a64

prev. commit part 2
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Sun, 07 Aug 2022 03:36:22 -0400
parents 83b8fdb45d5e
children 207684d44b54
comparison
equal deleted inserted replaced
65:03b1a105d70e 66:c8b91b8c2a64
6 else 6 else
7 LDFLAGS+=-Wl,--gc-sections 7 LDFLAGS+=-Wl,--gc-sections
8 endif 8 endif
9 9
10 src/%.o : src/%.c 10 src/%.o : src/%.c
11 $(CC) -c $(CC_FLAGS) $< -o $@ 11 $(CC) -c $(CFLAGS) $< -o $@
12 12
13 msvpvf: src/main.o src/common.o 13 msvpvf: src/main.o src/common.o
14 $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) 14 $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
15 15
16 # GUI is windows-only, please use cross-compiler! 16 # GUI is windows-only, please use cross-compiler!