mirror of https://github.com/9wm/xss.git
19 lines
324 B
Makefile
19 lines
324 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
|