diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5ab2b76 --- /dev/null +++ b/Makefile @@ -0,0 +1,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 |