]> rtime.felk.cvut.cz Git - omk.git/blob - tests/sources_in_subdirectory
Update wvtool
[omk.git] / tests / sources_in_subdirectory
1 #!/bin/bash
2
3 . ./wvtest.sh
4
5 case $OMK_RULES in
6     linux|sysless)
7         ;;
8     *) exit 0
9 esac
10
11 cat > 'Makefile.omk' <<EOF
12 bin_PROGRAMS = x
13 shared_LIBRARIES = x
14 x_SOURCES = a.c dir1/b.c dir2/dir3/c.c
15 EOF
16
17
18 mkdir dir
19 cd dir
20 cp ../Makefile ../Makefile.omk .
21 mkdir -p dir1 dir2/dir3
22 touch dir1/b.c dir2/dir3/c.c
23 echo 'int main() { return 0; }' > a.c
24
25 WVPASS make