xss/Makefile

19 lines
323 B
Makefile

HOSTTYPE = $(shell uname -m)
BINDIR ?= $(HOME)/bin/$(HOSTTYPE)
CFLAGS = -Wall
LDLIBS = -L/usr/X11R6/lib -lX11
BINARIES = xss xsswin xcursorpos xkeygrab xbell magic xnolock
all: $(BINARIES)
install: $(BINARIES)
cp $(BINARIES) $(BINDIR)
clean:
rm -f $(BINARIES)
xss xnolock: LDLIBS += -lXss
.PHONY: all install clean