Mercurial > msvpvf
diff 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 diff
--- a/Makefile Mon Jan 17 17:02:16 2022 -0500 +++ b/Makefile Thu Jan 20 23:00:18 2022 -0500 @@ -1,5 +1,6 @@ -CC=gcc -CC_FLAGS=-static -O2 +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 $@