akmhoque | 8adb43b | 2012-08-09 12:37:33 -0500 | [diff] [blame^] | 1 | CC = cc |
2 | CFLAGS = -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes | ||||
3 | LIBS = -lccn -lcrypto | ||||
4 | |||||
5 | PROGRAMS = nlsr00 | ||||
6 | |||||
7 | all: $(PROGRAMS) | ||||
8 | |||||
9 | nlsr00: nlsr.c nlsr_ndn.c utility.c | ||||
10 | $(CC) $(CFLAGS) nlsr.c nlsr_ndn.c utility.c -o nlsr00 $(LIBS) | ||||
11 | |||||
12 | clean: | ||||
13 | rm -f *.o | ||||
14 | rm -f $(PROGRAMS) | ||||
15 | rm -rf $(PROGRAMS).dSYM | ||||
16 | |||||
17 | .c.o: | ||||
18 | $(CC) $(CFLAGS) -c $< | ||||
19 | |||||
20 | .PHONY: all clean |