annotate Makefile @ 2:ce1e494aeb0e

Update Makefile
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Mon, 17 Jan 2022 17:02:16 -0500
parents 528b95e1e24f
children 87c7d43b03ff
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
528b95e1e24f Add source and makefile
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
1 CC=gcc
2
ce1e494aeb0e Update Makefile
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 1
diff changeset
2 CC_FLAGS=-static -O2
1
528b95e1e24f Add source and makefile
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
3
528b95e1e24f Add source and makefile
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
4 %.o : %.c
528b95e1e24f Add source and makefile
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
5 $(CC) -c $(CC_FLAGS) $< -o $@
528b95e1e24f Add source and makefile
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
6
528b95e1e24f Add source and makefile
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
7 msvpvf: msvpvf.o
528b95e1e24f Add source and makefile
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
8 $(CC) -o $@ $< $(CC_FLAGS) $(LD_FLAGS)
528b95e1e24f Add source and makefile
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
9
528b95e1e24f Add source and makefile
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
10 clean:
528b95e1e24f Add source and makefile
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
11 rm -f *.o
528b95e1e24f Add source and makefile
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
12 rm -f msvpvf msvpvf.exe