Mercurial > hg > Applications > docker-wrapper
view Makefile @ 13:8e1f57c91210
add port manager to ie-docker.
author | taira |
---|---|
date | Tue, 03 Feb 2015 16:49:48 +0900 |
parents | 1730494d9ecc |
children | c64a640558ba |
line wrap: on
line source
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) install $(TARGET) $(INSTALL_DIR) install create.py $(INSTALL_DIR) install portops.py $(INSTALL_DIR) chmod 4711 $(INSTALL_DIR)/$(TARGET) chmod 755 $(INSTALL_DIR)/create.py chmod 755 $(INSTALL_DIR)/portops.py clean: rm -f $(TARGET) $(TARGET2) *.o