#!/bin/sh source ../functions.sh touch config.omk-default echo "DEFS=-DNUMBER=123" > config.omk make||error "Can't compile" [ $OMK_RULES != linux ] && canttest "Should work only with Linux rules" _compiled/bin/test|grep 123 || error "Variable DEFS didn't influence the output"