comparison vd_watchdog/Makefile @ 2:89e9d591748d

Fix bug of usage for vd_watchdog, and add Makefile
author Thinker K.F. Li <thinker@branda.to>
date Tue, 08 Jul 2008 11:17:01 +0800
parents
children
comparison
equal deleted inserted replaced
1:0b9854adb86c 2:89e9d591748d
1 BIN=vd_watchdog
2 SRCS=vd_watchdog.c
3 OBJS = vd_watchdog.o
4 CFLAGS=-Wall -I..
5
6 $(BIN): $(OBJS)
7 $(CC) -o $@ $(OBJS)
8
9 .c.o:
10 $(CC) $(CFLAGS) -c $(.ALLSRC)
11
12 clean:
13 for f in $(OBJS) *~ $(BIN); do \
14 if [ -e $$f ]; then echo "deleting $$f"; rm -f "$$f"; fi; \
15 done