view Makefile @ 48:652343b56a60

Remove the need for <inttypes.h> and <stdbool.h>
author Paper <mrpapersonic@gmail.com>
date Sun, 22 May 2022 00:08:10 -0400
parents 7cb4ca7cf257
children bc85395ff699
line wrap: on
line source

CC_FLAGS=-Wall -O2
LD_FLAGS=

src/%.o : src/%.c
	$(CC) -c $(CC_FLAGS) $< -o $@

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 src/common.o
	$(CC) -o $@ $^ $(CC_FLAGS) $(LD_FLAGS) -mwindows -fstack-protector

clean:
	rm -f src/*.o *.exe msvpvf gui