annotate Makefile @ 40:984f31ae74d5

Fix student identifier
author atton
date Sun, 15 Nov 2015 12:20:00 +0900
parents ebeeb6c20d0a
children b8887c40f8b8
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
36
ebeeb6c20d0a Fix SEGV when argument is empty and invalid command
atton
parents: 32
diff changeset
2 CFLAGS = -Wall -O0 -g
11
422041acef4c add ie-vagrant
taiki
parents: 7
diff changeset
3
17
fb9f3738a8e6 add "box add" and "box list" add python script
taiki
parents: 15
diff changeset
4 INSTALL_DIR = /usr/local/bin
fb9f3738a8e6 add "box add" and "box list" add python script
taiki
parents: 15
diff changeset
5
11
422041acef4c add ie-vagrant
taiki
parents: 7
diff changeset
6
31
ea7578513baa delete vagrant group in Makefile
taiki
parents: 17
diff changeset
7 all: $(TARGET)
0
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 $(TARGET): $(TARGET).c
7785dd06c62f Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 $(CC) $(CFLAGS) $(TARGET).c -o $(TARGET)
7785dd06c62f Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 sudo chown root $(TARGET)
5
9ecd833b9570 filtering worked.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 2
diff changeset
12 sudo chmod 4711 $(TARGET)
0
7785dd06c62f Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13
11
422041acef4c add ie-vagrant
taiki
parents: 7
diff changeset
14 install: $(TARGET) $(TARGET2) newvm.py
17
fb9f3738a8e6 add "box add" and "box list" add python script
taiki
parents: 15
diff changeset
15 install ie-virsh $(INSTALL_DIR)
fb9f3738a8e6 add "box add" and "box list" add python script
taiki
parents: 15
diff changeset
16 install newvm.py $(INSTALL_DIR)
fb9f3738a8e6 add "box add" and "box list" add python script
taiki
parents: 15
diff changeset
17 chmod 4711 $(INSTALL_DIR)/ie-virsh
fb9f3738a8e6 add "box add" and "box list" add python script
taiki
parents: 15
diff changeset
18 chmod 755 $(INSTALL_DIR)/newvm.py
7
bff4054ed58f looks like working...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
19
0
7785dd06c62f Virsh Wrapper initial version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 clean:
11
422041acef4c add ie-vagrant
taiki
parents: 7
diff changeset
21 rm -f $(TARGET) $(TARGET2) *.o