summaryrefslogtreecommitdiff
path: root/Makefile
blob: d70296b531b1598456b954e54d725eebf2629314 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
APPNAME=xinput2_ivy
SRC=${APPNAME}.c

all: ${APPNAME}

${APPNAME}: ${SRC}
	gcc -Wall $< -lX11 -lXi -livy -o $@

clean:
	rm -f *~
	rm -f ${APPNAME}

distclean: clean

install: all
	install -d ${DESTDIR}${PREFIX}/bin
	install -m 0755 ${APPNAME} ${DESTDIR}${PREFIX}/bin