]> rtime.felk.cvut.cz Git - omk.git/blob - tests/programs.files
Update wvtool
[omk.git] / tests / programs.files
1 cat > 'Makefile.omk-test_PROGRAMS' <<'EOF'
2 test_PROGRAMS = test
3
4 test_SOURCES = test.c
5 EOF
6 cat > 'test.c' <<'EOF'
7 #include <stdio.h>
8
9 int main()
10 {
11 #ifdef NUMBER
12         printf("NUMBER is %d\n", NUMBER);
13 #endif
14         return 0;
15 }
16 EOF
17 cat > 'Makefile.omk' <<'EOF'
18 bin_PROGRAMS = test
19
20 test_SOURCES = test.c
21 EOF