dial spec 1.7

This commit is contained in:
jcli
2015-10-20 16:26:28 -07:00
commit 3454a59e99
41 changed files with 6174 additions and 0 deletions

18
server/tests/makefile Normal file
View File

@@ -0,0 +1,18 @@
CC=$(TARGET)gcc
.PHONY: clean
.DEFAULT_GOAL=test
OBJS := test_dial_data.o test_url_lib.o ../url_lib.o ../dial_data.o run_tests.o
HEADERS := $(wildcard ../*.h)
%.c: $(HEADERS)
%.o: %.c $(HEADERS)
$(CC) -Wall -Werror -g -std=gnu99 $(CFLAGS) -c $*.c -o $*.o
test: $(OBJS)
$(CC) -Wall -Werror -g $(OBJS) -ldl -lpthread -o run_tests
clean:
rm -f *.o run_tests