print distance dragged across display - compatible with X11
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
258 B

TARGET = pdi
BUILDDIR = build
INSTALLDIR=/usr/local/bin
$(BUILDDIR)/$(TARGET): main.go
[ -d $(BUILDDIR) ] || mkdir -p $(BUILDDIR)
go build -o $(BUILDDIR)/$(TARGET) .
.PHONY: install
install:
install -m 755 $(BUILDDIR)/$(TARGET) $(INSTALLDIR)/$(TARGET)