move test utilities to a separate directory

This commit is contained in:
Evgeny Zinoviev 2020-12-08 00:20:42 +03:00
parent bb2b4ac72e
commit 34a0a81ed2
3 changed files with 3 additions and 3 deletions

View File

@ -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 $@