Install target to ~/bin because wmi servers are locked down
This commit is contained in:
parent
e0fc6e5740
commit
124b7d4bb8
7
makefile
7
makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user