Makefile grooming.
This commit is contained in:
parent
8c168fdbf8
commit
37b460d52d
@ -40,7 +40,7 @@ doc: src/ipcd.zig
|
|||||||
$(ZIGC) build-exe $(ZIGOPTS) $(ZIGMAKEDOC) $^
|
$(ZIGC) build-exe $(ZIGOPTS) $(ZIGMAKEDOC) $^
|
||||||
|
|
||||||
ACCESS_LOGS ?= ./access.log
|
ACCESS_LOGS ?= ./access.log
|
||||||
servedoc:
|
serve-doc:
|
||||||
darkhttpd docs/ --addr 127.0.0.1 --port 35000 --log $(ACCESS_LOGS)
|
darkhttpd docs/ --addr 127.0.0.1 --port 35000 --log $(ACCESS_LOGS)
|
||||||
|
|
||||||
# You can add your specific instructions there.
|
# You can add your specific instructions there.
|
||||||
|
@ -16,15 +16,15 @@ stop-tcpd:
|
|||||||
|
|
||||||
run-ipcd:
|
run-ipcd:
|
||||||
-rm /tmp/libipc-run/ipc 2>/dev/null || true
|
-rm /tmp/libipc-run/ipc 2>/dev/null || true
|
||||||
$(VALGRIND) ./ipcd
|
$(VALGRIND) ./bin/ipcd
|
||||||
|
|
||||||
run-pongd:
|
run-pongd:
|
||||||
-rm /tmp/libipc-run/pong 2>/dev/null || true
|
-rm /tmp/libipc-run/pong 2>/dev/null || true
|
||||||
$(VALGRIND) ./pongd
|
$(VALGRIND) ./bin/pongd
|
||||||
|
|
||||||
run-tcpd:
|
run-tcpd:
|
||||||
@-rm /tmp/libipc-run/tcp 2>/dev/null || true
|
@-rm /tmp/libipc-run/tcp 2>/dev/null || true
|
||||||
$(VALGRIND) ./tcpd
|
$(VALGRIND) ./bin/tcpd
|
||||||
|
|
||||||
TCP_SERVICE_ALT ?= 127.0.0.1:9898
|
TCP_SERVICE_ALT ?= 127.0.0.1:9898
|
||||||
run-tcpd-alternative:
|
run-tcpd-alternative:
|
||||||
@ -38,7 +38,7 @@ run-pong:
|
|||||||
@#SERVICE is the service to contact and IPC_NETWORK is the IPCd
|
@#SERVICE is the service to contact and IPC_NETWORK is the IPCd
|
||||||
@#configuration to translate "p" into "pong" (still using UNIX
|
@#configuration to translate "p" into "pong" (still using UNIX
|
||||||
@#sockets on the same computer).
|
@#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:
|
run-pong-test-tcpd:
|
||||||
SERVICE="pong" IPC_NETWORK="pong tcp://$(TCP_SERVICE_ALT)/pong" $(VALGRIND) ./pong
|
SERVICE="pong" IPC_NETWORK="pong tcp://$(TCP_SERVICE_ALT)/pong" $(VALGRIND) ./pong
|
||||||
|
Reference in New Issue
Block a user