Mercurial > msvpvf
diff Makefile @ 47:7cb4ca7cf257
Use a common.c file to hold concurrent functions
Also I fixed that 1.4 KB bug I think
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sat, 21 May 2022 18:41:54 -0400 |
parents | 7103ac60ebdc |
children | 652343b56a60 |
line wrap: on
line diff
--- a/Makefile Fri May 20 14:41:46 2022 -0400 +++ b/Makefile Sat May 21 18:41:54 2022 -0400 @@ -4,12 +4,12 @@ src/%.o : src/%.c $(CC) -c $(CC_FLAGS) $< -o $@ -msvpvf: src/main.o - $(CC) -o $@ $< $(CC_FLAGS) $(LD_FLAGS) +msvpvf: src/main.o src/common.o + $(CC) -o $@ $^ $(CC_FLAGS) $(LD_FLAGS) # GUI is windows-only, please use cross-compiler! -gui: src/gui.o - $(CC) -o $@ $< $(CC_FLAGS) $(LD_FLAGS) -mwindows +gui: src/gui.o src/common.o + $(CC) -o $@ $^ $(CC_FLAGS) $(LD_FLAGS) -mwindows clean: rm -f src/*.o *.exe msvpvf gui