Mercurial > msvpvf
view Makefile @ 3:87c7d43b03ff
Add support for runtime inputs
| author | Paper <mrpapersonic@gmail.com> | 
|---|---|
| date | Thu, 20 Jan 2022 23:00:18 -0500 | 
| parents | ce1e494aeb0e | 
| 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
