API Addition 2nd Version
diff --git a/Makefile b/Makefile
index f26d056..893ff21 100644
--- a/Makefile
+++ b/Makefile
@@ -2,17 +2,20 @@
CFLAGS = -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes
LIBS = -lccn -lcrypto
-PROGRAMS = nlsr
+PROGRAMS = nlsrc nlsr
INSTALL_PATH=/usr/local/bin/
NLSR_SRCS=nlsr.c nlsr_ndn.c nlsr_npl.c nlsr_adl.c nlsr_lsdb.c nlsr_route.c nlsr_npt.c nlsr_fib.c utility.c
-
+NLSRC_SRCS=nlsrc.c
all: $(PROGRAMS)
nlsr: $(NLSR_SRCS)
$(CC) $(CFLAGS) $(NLSR_SRCS) -o nlsr $(LIBS) -lm
+nlsrc: $(NLSRC_SRCS)
+ $(CC) $(CFLAGS) $(NLSRC_SRCS) -o nlsrc $(LIBS) -lm
+
install: $(PROGRAMS)
cp $(PROGRAMS) $(INSTALL_PATH)
cd $(INSTALL_PATH); chown root:0 $(PROGRAMS); chmod 755 $(PROGRAMS)