Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 3da651d4fa
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (14 sloc) 0.331 kb
INSTALL=install
PREFIX=/usr
TARGET := xcape
CFLAGS += -Wall
CFLAGS += `pkg-config --cflags xtst x11`
LDFLAGS += `pkg-config --libs xtst x11`
LDFLAGS += -pthread
$(TARGET): xcape.c
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
install:
$(INSTALL) -Dm 755 $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(TARGET)
clean:
rm $(TARGET)
.PHONY: clean
Jump to Line
Something went wrong with that request. Please try again.