Makefile grooming.

master
Philippe Pittoli 2023-02-03 05:48:24 +01:00
parent 8c168fdbf8
commit 37b460d52d
2 changed files with 5 additions and 5 deletions

View File

@ -40,7 +40,7 @@ doc: src/ipcd.zig
$(ZIGC) build-exe $(ZIGOPTS) $(ZIGMAKEDOC) $^
ACCESS_LOGS ?= ./access.log
servedoc:
serve-doc:
darkhttpd docs/ --addr 127.0.0.1 --port 35000 --log $(ACCESS_LOGS)
# You can add your specific instructions there.

View File

@ -16,15 +16,15 @@ stop-tcpd:
run-ipcd:
-rm /tmp/libipc-run/ipc 2>/dev/null || true
$(VALGRIND) ./ipcd
$(VALGRIND) ./bin/ipcd
run-pongd:
-rm /tmp/libipc-run/pong 2>/dev/null || true
$(VALGRIND) ./pongd
$(VALGRIND) ./bin/pongd
run-tcpd:
@-rm /tmp/libipc-run/tcp 2>/dev/null || true
$(VALGRIND) ./tcpd
$(VALGRIND) ./bin/tcpd
TCP_SERVICE_ALT ?= 127.0.0.1:9898
run-tcpd-alternative:
@ -38,7 +38,7 @@ run-pong:
@#SERVICE is the service to contact and IPC_NETWORK is the IPCd
@#configuration to translate "p" into "pong" (still using UNIX
@#sockets on the same computer).
SERVICE="$(SERVICE_NAME)" IPC_NETWORK="$(IPC_NETWORK)" $(VALGRIND) ./pong
SERVICE="$(SERVICE_NAME)" IPC_NETWORK="$(IPC_NETWORK)" $(VALGRIND) ./bin/pong
run-pong-test-tcpd:
SERVICE="pong" IPC_NETWORK="pong tcp://$(TCP_SERVICE_ALT)/pong" $(VALGRIND) ./pong