Mercurial > msvpvf
view Makefile @ 20:bf872a9c70d9
Add curly brackets around our switch statement so it actually works
author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
---|---|
date | Thu, 07 Apr 2022 19:42:34 -0400 |
parents | d1e5b8390cd3 |
children | 7103ac60ebdc |
line wrap: on
line source
CC=clang CC_FLAGS=-Wall -O2 LD_FLAGS= src/%.o : src/%.c $(CC) -c $(CC_FLAGS) $< -o $@ msvpvf: src/main.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 clean: rm -f src/*.o *.exe msvpvf gui