2008-11-20 16:15:07 -07:00
|
|
|
HOSTTYPE = $(shell uname -m)
|
2008-12-22 13:41:53 -07:00
|
|
|
BINDIR ?= $(HOME)/bin/$(HOSTTYPE)
|
2017-09-14 08:26:35 -06:00
|
|
|
CFLAGS += -Wall
|
2008-11-20 16:15:07 -07:00
|
|
|
LDLIBS = -L/usr/X11R6/lib -lX11
|
2008-04-10 14:26:41 -06:00
|
|
|
|
2012-03-02 16:47:46 -07:00
|
|
|
BINARIES = xss xsswin xcursorpos xkeygrab xbell magic xnolock
|
2008-04-21 11:20:10 -06:00
|
|
|
|
|
|
|
all: $(BINARIES)
|
|
|
|
|
|
|
|
install: $(BINARIES)
|
|
|
|
cp $(BINARIES) $(BINDIR)
|
2008-04-11 16:49:42 -06:00
|
|
|
|
2008-04-24 10:48:57 -06:00
|
|
|
clean:
|
|
|
|
rm -f $(BINARIES)
|
|
|
|
|
2012-03-02 16:47:46 -07:00
|
|
|
xss xnolock: LDLIBS += -lXss
|
2008-04-14 11:01:47 -06:00
|
|
|
|
2008-04-24 10:48:57 -06:00
|
|
|
.PHONY: all install clean
|