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