From d268e957df24b8974186454b11be35c75fa9568b Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Wed, 27 Mar 2019 23:18:14 -0400 Subject: Add "configure" script Look I'm being all compatible and stuff. --- configure | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 configure (limited to 'configure') diff --git a/configure b/configure new file mode 100755 index 0000000..ba1718c --- /dev/null +++ b/configure @@ -0,0 +1,8 @@ +#!/bin/sh +set -eu +cflags=$(pkg-config --cflags sdl2) +ldlibs=$(pkg-config --libs sdl2) +cat > config.mk << EOF +CFLAGS += ${cflags} +LDLIBS += ${ldlibs} +EOF -- cgit 1.4.1