Updated the who-is-router-to-network demo.

This commit is contained in:
skarg
2008-09-06 13:56:25 +00:00
parent 61759224a6
commit e27d2abff2
6 changed files with 645 additions and 19 deletions
+4 -4
View File
@@ -16,19 +16,19 @@ SRCS = $(SRC_DIR)/mstp.c \
TARGET = mstp
all: ${TARGET}
OBJS = ${SRCS:.c=.o}
${TARGET}: ${OBJS}
${CC} -o $@ ${OBJS}
${CC} -o $@ ${OBJS}
.c.o:
${CC} -c ${CFLAGS} $*.c -o $@
depend:
rm -f .depend
${CC} -MM ${CFLAGS} *.c >> .depend
clean:
rm -rf core ${TARGET} $(OBJS)