aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2020-12-08 00:20:42 +0300
committerEvgeny Zinoviev <me@ch1p.io>2020-12-08 00:20:42 +0300
commit34a0a81ed23d9bccf9efbe92c58c85426bf41dc8 (patch)
tree545e67b745231ee3fe3cbfd39b72e6a04e1cd362
parentbb2b4ac72e099367fad6e9368844ec1d05361704 (diff)
move test utilities to a separate directory
-rw-r--r--Makefile6
-rw-r--r--test/testclient.c (renamed from testclient.c)0
-rw-r--r--test/testserver.c (renamed from testserver.c)0
3 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 54945cb..479dbe7 100644
--- a/Makefile
+++ b/Makefile
@@ -16,10 +16,10 @@ voidnsrun: voidnsrun.o utils.o
voidnsundo: voidnsundo.o utils.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
-testserver: testserver.o utils.o
+testserver: test/testserver.o utils.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
-testclient: testclient.o utils.o
+testclient: test/testclient.o utils.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
install: voidnsrun voidnsundo
@@ -27,7 +27,7 @@ install: voidnsrun voidnsundo
chmod u+s $(PREFIX)/bin/voidnsrun $(PREFIX)/bin/voidnsundo
clean:
- rm -f *.o voidnsrun voidnsundo testserver testclient
+ rm -f *.o test/*.o voidnsrun voidnsundo testserver testclient
%.o: %.c
$(CC) $(CFLAGS) -c $^ -I. -o $@
diff --git a/testclient.c b/test/testclient.c
index 19db1c1..19db1c1 100644
--- a/testclient.c
+++ b/test/testclient.c
diff --git a/testserver.c b/test/testserver.c
index 091d580..091d580 100644
--- a/testserver.c
+++ b/test/testserver.c