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