view Makefile @ 36:4c5f3d8d31e1

Merge pull request #2 from mrpapersonic/actions Add GitHub Actions CI
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Sun, 17 Apr 2022 02:58:48 -0400
parents 7103ac60ebdc
children 7cb4ca7cf257
line wrap: on
line source

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