mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-02 03:02:37 +00:00
on OpenBSD, botan library is third-party and live in /usr/local which isn't a path included by default in linker.
14 lines
244 B
Makefile
14 lines
244 B
Makefile
ODIN=../../odin
|
|
ODINFLAGS=
|
|
|
|
OS=$(shell uname)
|
|
|
|
ifeq ($(OS), OpenBSD)
|
|
ODINFLAGS:=$(ODINFLAGS) -extra-linker-flags:-L/usr/local/lib
|
|
endif
|
|
|
|
all: botan_test
|
|
|
|
botan_test:
|
|
$(ODIN) run botan -out=botan_hash -o:speed -no-bounds-check $(ODINFLAGS)
|