mirror of
https://github.com/tailix/libkernaux.git
synced 2024-11-13 11:04:27 -05:00
12 lines
244 B
Bash
Executable file
12 lines
244 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
REPO="$(realpath "$(dirname "$(realpath "$0")")/..")"
|
|
if [ -f "$REPO/Makefile" ]; then make -C "$REPO" distclean; fi
|
|
|
|
PREFIX="$REPO/dest/dev-native"
|
|
|
|
export CFLAGS='-fPIC'
|
|
|
|
"$REPO/configure" --prefix="$PREFIX" --enable-tests
|