cat > 'Makefile.omk-test_PROGRAMS' <<'EOF' test_PROGRAMS = test test_SOURCES = test.c EOF cat > 'test.c' <<'EOF' #include int main() { #ifdef NUMBER printf("NUMBER is %d\n", NUMBER); #endif return 0; } EOF cat > 'Makefile.omk' <<'EOF' bin_PROGRAMS = test test_SOURCES = test.c EOF