💾 Archived View for gemini.rmf-dev.com › repo › Vaati › dkee › files › ac9ac8e371b40ab7fde9ff064bbfb… captured on 2023-01-29 at 04:31:06. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
0 SHELL = /bin/sh
1
2 PREFIX = /usr/local
3
4 CFLAGS = -ansi -std=c89 -pedantic -Wall -Wextra \
5 -lX11 -O2 -D_POSIX_C_SOURCE=200809L
6 CC = cc
7
8 SRC = src/main.c src/strlcpy.c src/input.c
9
10 dkee: src/*
11 ${CC} ${SRC} ${CFLAGS} -o $@
12
13 install:
14 cp dkee ${PREFIX}/bin
15 cp dkee_signal ${PREFIX}/sbin
16 chmod 755 ${PREFIX}/bin/dkee
17 chmod 755 ${PREFIX}/sbin/dkee_signal
18
19 uninstall:
20 rm ${PREFIX}/bin/dkee
21
22 clean:
23 rm -f dkee
24