blob: 9a466bc77930c93a142a4dde6e26c5331f949af3 [file] [log] [blame]
CC = cc
CFLAGS = -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes
LIBS = -lccn -lcrypto
PROGRAMS = nlsr
all: $(PROGRAMS)
nlsr: nlsr.c nlsr_ndn.c utility.c
$(CC) $(CFLAGS) nlsr.c nlsr_ndn.c utility.c -o nlsr $(LIBS)
clean:
rm -f *.o
rm -f $(PROGRAMS)
rm -rf $(PROGRAMS).dSYM
.c.o:
$(CC) $(CFLAGS) -c $<
.PHONY: all clean