Mercurial > hg > Applications > virsh-wrapper
view Makefile @ 40:984f31ae74d5
Fix student identifier
author | atton |
---|---|
date | Sun, 15 Nov 2015 12:20:00 +0900 |
parents | ebeeb6c20d0a |
children | b8887c40f8b8 |
line wrap: on
line source
TARGET = ie-virsh CFLAGS = -Wall -O0 -g INSTALL_DIR = /usr/local/bin all: $(TARGET) $(TARGET): $(TARGET).c $(CC) $(CFLAGS) $(TARGET).c -o $(TARGET) sudo chown root $(TARGET) sudo chmod 4711 $(TARGET) install: $(TARGET) $(TARGET2) newvm.py install ie-virsh $(INSTALL_DIR) install newvm.py $(INSTALL_DIR) chmod 4711 $(INSTALL_DIR)/ie-virsh chmod 755 $(INSTALL_DIR)/newvm.py clean: rm -f $(TARGET) $(TARGET2) *.o