libsyd 3.12.1

Rust-based C library for syd interaction via /dev/syd
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SYD ?= syd

ROOT = $(shell git rev-parse --show-toplevel)
ifneq ($(ROOT),)
	RUBYLIB := $(ROOT)/lib/src:$(RUBYLIB)
	export RUBYLIB
	LD_LIBRARY_PATH := $(ROOT)/target/release/deps:$(LD_LIBRARY_PATH)
	export LD_LIBRARY_PATH
endif

all: rbshell.rb

check: test

test: rbshell.rb
	$(SYD) -plib -pcontainer -- ./rbshell.rb

.PHONY: all check test