Mercurial > hg > Applications > virsh-wrapper
view Makefile @ 24:e372e7648da0
remove test vms, and add managers vms
author | taiki <taiki@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 21 Jul 2014 09:05:59 -1000 |
parents | fb9f3738a8e6 |
children | ea7578513baa |
line wrap: on
line source
TARGET = ie-virsh CFLAGS = -Wall -O2 -g TARGET2 = ie-vagrant INSTALL_DIR = /usr/local/bin all: $(TARGET) $(TARGET2) $(TARGET): $(TARGET).c $(CC) $(CFLAGS) $(TARGET).c -o $(TARGET) sudo chown root $(TARGET) sudo chmod 4711 $(TARGET) $(TARGET2): $(TARGET2).c $(CC) $(CFLAGS) $(TARGET2).c -o $(TARGET2) sudo chown root $(TARGET2) sudo chmod 4711 $(TARGET2) install: $(TARGET) $(TARGET2) newvm.py install ie-virsh $(INSTALL_DIR) install ie-vagrant $(INSTALL_DIR) install newvm.py $(INSTALL_DIR) install vagrant_newvm.py $(INSTALL_DIR) install change_vagrantfile.py $(INSTALL_DIR) chmod 4711 $(INSTALL_DIR)/ie-virsh chmod 4711 $(INSTALL_DIR)/ie-vagrant chmod 755 $(INSTALL_DIR)/newvm.py chmod 755 $(INSTALL_DIR)/change_vagrantfile.py chmod 755 $(INSTALL_DIR)/vagrant_newvm.py clean: rm -f $(TARGET) $(TARGET2) *.o