Mercurial > vordog
view vd_watchdog/Makefile @ 9:b4f4a69ea86a v20080708
clear error after event handler for watchdog(9)
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Tue, 08 Jul 2008 20:29:07 +0800 |
parents | 89e9d591748d |
children |
line wrap: on
line source
BIN=vd_watchdog SRCS=vd_watchdog.c OBJS = vd_watchdog.o CFLAGS=-Wall -I.. $(BIN): $(OBJS) $(CC) -o $@ $(OBJS) .c.o: $(CC) $(CFLAGS) -c $(.ALLSRC) clean: for f in $(OBJS) *~ $(BIN); do \ if [ -e $$f ]; then echo "deleting $$f"; rm -f "$$f"; fi; \ done