Mercurial > hg > Applications > virsh-wrapper
annotate Makefile @ 7:bff4054ed58f
looks like working...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Nov 2012 11:14:34 +0900 |
parents | 9ecd833b9570 |
children | 422041acef4c |
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 | 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 sudo chown root $(TARGET) |
5 | 7 sudo chmod 4711 $(TARGET) |
0
7785dd06c62f
Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
8 |
7 | 9 install: $(TARGET) newvm.py |
10 install ie-virsh /usr/local/bin/ | |
11 install newvm.py /usr/local/bin/ | |
12 chmod 4711 /usr/local/bin/ie-virsh | |
13 chmod 755 /usr/local/bin/newvm.py | |
14 | |
0
7785dd06c62f
Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
15 clean: |
7785dd06c62f
Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
16 rm $(TARGET) |