blob: e049ebc85237a891a66b64b07d31aa91e74536a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
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
|