2016-08-17 15:08:22 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# A wrapper for make on Windows with Eclipse
|
|
|
|
#
|
|
|
|
# Eclipse's output parser expects to see output of the form C:/dir/dir/file but our Make
|
|
|
|
# process uses MinGW paths of the form /c/dir/dir/file. So parse these out...
|
|
|
|
#
|
2017-01-04 01:36:59 +00:00
|
|
|
# A little hacky as it looks for any single character of form /X/something.
|
|
|
|
#
|
2016-08-31 01:04:24 +00:00
|
|
|
echo "Running make in $(pwd)"
|
2017-01-04 01:36:59 +00:00
|
|
|
make $@ V=1 | sed -E "s@/([a-z])/([^/+])@\1:/\2@g"
|