Updated the who-is-router-to-network demo.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user