diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-04 16:54:45 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-04 16:54:45 +0000 |
commit | 214511aafc65d340174c93703efd1e158b076be1 (patch) | |
tree | 67d1dc34541ac85f7196fb2347ac16b921b51538 /contrib/package/freifunk-watchdog/src/Makefile | |
parent | d9fd5a4c9e422f038260e645b227c416a2edf350 (diff) |
contrib/package: add freifunk watchdog daemon
Diffstat (limited to 'contrib/package/freifunk-watchdog/src/Makefile')
-rw-r--r-- | contrib/package/freifunk-watchdog/src/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/package/freifunk-watchdog/src/Makefile b/contrib/package/freifunk-watchdog/src/Makefile new file mode 100644 index 0000000000..e049ebc852 --- /dev/null +++ b/contrib/package/freifunk-watchdog/src/Makefile @@ -0,0 +1,12 @@ +WD_BINARY:=ffwatchd +WD_CFLAGS:=$(CFLAGS) -c -DBINARY=\"$(WD_BINARY)\" +WD_LDFLAGS:=$(LDFLAGS) -lm -luci + +watchdog: + $(CC) $(WD_CFLAGS) -o ucix.o ucix.c + $(CC) $(WD_CFLAGS) -o watchdog.o watchdog.c + $(CC) $(WD_LDFLAGS) -o $(WD_BINARY) watchdog.o ucix.o + +clean: + rm -f *~ $(WD_BINARY) *.o + |