summaryrefslogtreecommitdiff
path: root/Makefile
blob: 5ab2b766c56d40c4626d22edd11eb7de0cde4a65 (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
APPNAME=xinput_ivy
SRC=${APPNAME}.c ${APPNAME}.h

all: ${APPNAME}

${APPNAME}: ${SRC}
	${SHELL} ${APPNAME}.make

%.c:%.e
	se c2c -boost -c_mode release $< -o ${@:.c=}

%.h:%.c

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

distclean: clean
	se clean ${APPNAME}

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