annotate Makefile @ 1:528b95e1e24f

Add source and makefile
author Paper <mrpapersonic@gmail.com>
date Sun, 09 Jan 2022 00:05:36 -0500
parents
children ce1e494aeb0e
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
528b95e1e24f Add source and makefile
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
2 CC_FLAGS=-static
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