blob: d34faedeca37319a2c0807fe04dd89af9d4c2511 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# xmouseless
VERSION = 0.0.1
CC = /usr/bin/gcc
CFLAGS = -Wall -g
LDFLAGS = -lX11 -lXtst -lpthread
PREFIX = /usr/local
SRC = xmouseless.c
BIN = xmouseless
all: $(BIN)
$(BIN): $(SRC) config.h
$(CC) $(CFLAGS) -o $(BIN) $(SRC) $(LDFLAGS)
clean:
rm -f $(BIN)
install: all
mkdir -p $(PREFIX)/bin
cp -f $(BIN) $(PREFIX)/bin
chmod 755 $(PREFIX)/bin/$(BIN)
uninstall:
rm -f $(PREFIX)/bin/$(BIN)
|