#!/bin/sh -e case $1 in --static) EXTRAFLAGS="$EXTRAFLAGS -static" ;; *) ;; esac echo "EXTRAFLAGS=$EXTRAFLAGS" > conf.mk