annotate Makefile @ 2:1a35a6cb23dd

fix commands, include
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 12 Nov 2012 11:51:26 +0900
parents 7785dd06c62f
children 9ecd833b9570
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7785dd06c62f Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 TARGET = ie-virsh
2
1a35a6cb23dd fix commands, include
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
2 CFLAGS = -Wall -O2 -g
0
7785dd06c62f Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
7785dd06c62f Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 $(TARGET): $(TARGET).c
7785dd06c62f Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 $(CC) $(CFLAGS) $(TARGET).c -o $(TARGET)
7785dd06c62f Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 chmod 2711 $(TARGET)
7785dd06c62f Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 sudo chown root $(TARGET)
7785dd06c62f Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8
7785dd06c62f Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 clean:
7785dd06c62f Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 rm $(TARGET)