Mercurial > hg > Applications > docker-wrapper
changeset 2:dcca39030bd8
add Makefile and README.md
author | taiki |
---|---|
date | Mon, 14 Jul 2014 16:38:20 -1000 |
parents | 3e0e4fd65313 |
children | aaa7db6e7fcc e802f3c8af1a |
files | Makefile README.md |
diffstat | 2 files changed, 33 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Mon Jul 14 16:38:20 2014 -1000 @@ -0,0 +1,21 @@ +TARGET = ie-docker +CFLAGS = -Wall -O2 -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) newvm.py + install ie-docker $(INSTALL_DIR) + install newvm.py $(INSTALL_DIR) + chmod 4711 $(INSTALL_DIR)/ie-docker + chmod 755 $(INSTALL_DIR)/newvm.py + +clean: + rm -f $(TARGET) $(TARGET2) *.o