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