Mercurial > msvpvf
annotate Makefile @ 5:92ec47e63923
Add missing semicolon
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Fri, 21 Jan 2022 01:53:58 -0500 |
parents | 87c7d43b03ff |
children | d1e5b8390cd3 |
rev | line source |
---|---|
3
87c7d43b03ff
Add support for runtime inputs
Paper <mrpapersonic@gmail.com>
parents:
2
diff
changeset
|
1 CC=clang # clang cause gcc throws compiling errors that i don't know how to fix |
87c7d43b03ff
Add support for runtime inputs
Paper <mrpapersonic@gmail.com>
parents:
2
diff
changeset
|
2 CC_FLAGS=-Wall -static -O2 |
87c7d43b03ff
Add support for runtime inputs
Paper <mrpapersonic@gmail.com>
parents:
2
diff
changeset
|
3 LD_FLAGS=-ffunction-sections |
1 | 4 |
5 %.o : %.c | |
6 $(CC) -c $(CC_FLAGS) $< -o $@ | |
7 | |
8 msvpvf: msvpvf.o | |
9 $(CC) -o $@ $< $(CC_FLAGS) $(LD_FLAGS) | |
10 | |
11 clean: | |
12 rm -f *.o | |
13 rm -f msvpvf msvpvf.exe |