view Makefile @ 5:92ec47e63923

Add missing semicolon
author Paper <mrpapersonic@gmail.com>
date Fri, 21 Jan 2022 01:53:58 -0500
parents 87c7d43b03ff
children d1e5b8390cd3
line wrap: on
line source

CC=clang  # clang cause gcc throws compiling errors that i don't know how to fix
CC_FLAGS=-Wall -static -O2
LD_FLAGS=-ffunction-sections

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

msvpvf: msvpvf.o
	$(CC) -o $@ $< $(CC_FLAGS) $(LD_FLAGS)

clean:
	rm -f *.o
	rm -f msvpvf msvpvf.exe