Install target to ~/bin because wmi servers are locked down

This commit is contained in:
Artur Tamborski 2019-01-02 01:23:41 +01:00
parent e0fc6e5740
commit 124b7d4bb8

View File

@ -29,11 +29,8 @@ build: $(TARGET)
run: build
@./$(TARGET)
install: build
@cp $(TARGET) $(INSTALL)
uninstall:
@rm -f $(INSTALL)/$(TARGET)
install: $(TARGET)
@test -d ~/bin && cp $(TARGET) ~/bin/$(INSTALL) || echo "Directory ~/bin does not exist, installation failed"
clean:
@rm -r $(TARGET) $(OBJS) $(OBJDIR) 2>/dev/null || true