catboy/configure

12 lines
237 B
Plaintext
Raw Normal View History

#!/bin/sh
set -eu
libs='libcrypto libtls ncursesw'
pkg-config --print-errors $libs
cat >config.mk <<EOF
CFLAGS += $(pkg-config --cflags $libs)
LDFLAGS += $(pkg-config --libs-only-L $libs)
LDLIBS = $(pkg-config --libs-only-l $libs)
EOF