summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorguez2008-04-08 13:43:01 +0000
committerguez2008-04-08 13:43:01 +0000
commit8f1e0435cca1d97caba2da1e306432ace45d0bbd (patch)
tree55a65c1ccd8c1f8401f6bb204b656f451fcf97e8 /Makefile
downloadxinput-ivy-8f1e0435cca1d97caba2da1e306432ace45d0bbd.zip
xinput-ivy-8f1e0435cca1d97caba2da1e306432ace45d0bbd.tar.gz
xinput-ivy-8f1e0435cca1d97caba2da1e306432ace45d0bbd.tar.bz2
xinput-ivy-8f1e0435cca1d97caba2da1e306432ace45d0bbd.tar.xz
Version 1.1 de xinput-ivy, auteur Philippe Ribet
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
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