wendy

run arbitrary commands on inotify events
git clone git://iotek.org/wendy
Log | Files | Refs | README | LICENSE

Makefile (376B)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
include config.mk

.PHONY: clean install uninstall

wendy: wendy.o

.c.o:
	$(CC) -c $(CFLAGS) $< -o $@

.o:
	$(LD) $(LDFLAGS) $< -o $@

clean :
	rm -f wendy *.o

install :
	install -D -m0755 wendy ${DESTDIR}${PREFIX}/bin/wendy
	install -D -m0644 wendy.1 ${DESTDIR}${MANDIR}/man1/wendy.1

uninstall:
	rm -f ${DESTDIR}${PREFIX}/bin/wendy
	rm -f ${DESTDIR}${MANDIR}/man1/wendy.1