#!/bin/sh
-source ../functions.sh
+. ../functions.sh
touch config.omk-default
-make CFLAGS="-DNONSENSE=abc -DNUMBER=123"||canttest "Can't compile"
+make CFLAGS="-DNONSENSE=abc -DNUMBER=123"||error "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"