Mercurial > msvpvf
comparison 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 |
comparison
equal
deleted
inserted
replaced
2:ce1e494aeb0e | 3:87c7d43b03ff |
---|---|
1 CC=gcc | 1 CC=clang # clang cause gcc throws compiling errors that i don't know how to fix |
2 CC_FLAGS=-static -O2 | 2 CC_FLAGS=-Wall -static -O2 |
3 LD_FLAGS=-ffunction-sections | |
3 | 4 |
4 %.o : %.c | 5 %.o : %.c |
5 $(CC) -c $(CC_FLAGS) $< -o $@ | 6 $(CC) -c $(CC_FLAGS) $< -o $@ |
6 | 7 |
7 msvpvf: msvpvf.o | 8 msvpvf: msvpvf.o |