annotate Makefile @ 11:422041acef4c

add ie-vagrant
author taiki
date Mon, 11 Nov 2013 09:33:36 -1000
parents bff4054ed58f
children f194adc597b6
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
11
422041acef4c add ie-vagrant
taiki
parents: 7
diff changeset
3 TARGET2 = ie-vagrant
422041acef4c add ie-vagrant
taiki
parents: 7
diff changeset
4
422041acef4c add ie-vagrant
taiki
parents: 7
diff changeset
5
422041acef4c add ie-vagrant
taiki
parents: 7
diff changeset
6 all: $(TARGET) $(TARGET2)
0
7785dd06c62f Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7
7785dd06c62f Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 $(TARGET): $(TARGET).c
7785dd06c62f Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 $(CC) $(CFLAGS) $(TARGET).c -o $(TARGET)
7785dd06c62f Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 sudo chown root $(TARGET)
5
9ecd833b9570 filtering worked.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 2
diff changeset
11 sudo chmod 4711 $(TARGET)
0
7785dd06c62f Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12
11
422041acef4c add ie-vagrant
taiki
parents: 7
diff changeset
13 $(TARGET2): $(TARGET2).c
422041acef4c add ie-vagrant
taiki
parents: 7
diff changeset
14 $(CC) $(CFLAGS) $(TARGET2).c -o $(TARGET2)
422041acef4c add ie-vagrant
taiki
parents: 7
diff changeset
15 sudo chown root $(TARGET2)
422041acef4c add ie-vagrant
taiki
parents: 7
diff changeset
16 sudo chmod 4711 $(TARGET2)
422041acef4c add ie-vagrant
taiki
parents: 7
diff changeset
17
422041acef4c add ie-vagrant
taiki
parents: 7
diff changeset
18 install: $(TARGET) $(TARGET2) newvm.py
7
bff4054ed58f looks like working...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
19 install ie-virsh /usr/local/bin/
11
422041acef4c add ie-vagrant
taiki
parents: 7
diff changeset
20 install ie-vagrant /usr/local/bin/
7
bff4054ed58f looks like working...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
21 install newvm.py /usr/local/bin/
bff4054ed58f looks like working...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
22 chmod 4711 /usr/local/bin/ie-virsh
11
422041acef4c add ie-vagrant
taiki
parents: 7
diff changeset
23 chmod 4711 /usr/local/bin/ie-vagrant
7
bff4054ed58f looks like working...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
24 chmod 755 /usr/local/bin/newvm.py
bff4054ed58f looks like working...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
25
0
7785dd06c62f Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 clean:
11
422041acef4c add ie-vagrant
taiki
parents: 7
diff changeset
27 rm -f $(TARGET) $(TARGET2) *.o