Archived
3
0
This repository has been archived on 2024-06-18. You can view files and clone it, but cannot push or open issues or pull requests.
libipc-old/zig-impl/crystal/some-crystal-app/makefile

39 lines
762 B
Makefile
Raw Normal View History

2023-01-21 03:26:56 +01:00
LDPATH ?= /tmp/libipc/zig-impl/build
SRC ?= ./bin/some-crystal-app
VG_OPTS = --leak-check=full -v
VG_OPTS += --show-leak-kinds=all
2023-01-21 03:26:56 +01:00
VG_OPTS += --suppressions=valgrind.suppressions
VG_OPTS += --gen-suppressions=all
build:
CRYSTAL_LIBRARY_PATH=$(LDPATH) shards build
2023-01-21 03:26:56 +01:00
valgrind:
LD_LIBRARY_PATH=$(LDPATH) valgrind $(VG_OPTS) $(SRC)
run:
LD_LIBRARY_PATH=$(LDPATH) $(SRC)
2023-02-01 04:45:08 +01:00
2023-02-01 20:32:21 +01:00
build-pongd:
CRYSTAL_LIBRARY_PATH=$(LDPATH) shards build pongd
2023-02-01 04:45:08 +01:00
run-pongd:
LD_LIBRARY_PATH=$(LDPATH) ./bin/pongd
2023-02-01 20:32:21 +01:00
build-authd:
CRYSTAL_LIBRARY_PATH=$(LDPATH) shards build authd
run-authd:
LD_LIBRARY_PATH=$(LDPATH) ./bin/authd
2023-02-03 02:09:03 +01:00
build-authc:
CRYSTAL_LIBRARY_PATH=$(LDPATH) shards build authc
run-authc:
LD_LIBRARY_PATH=$(LDPATH) ./bin/authc
2023-02-01 04:45:08 +01:00
run-test:
crystal run src/libauth.cr