Use the shell function to execute the cygpath utility with the -w flag.
Example:
BAR := /cygdrive/c/foo/bar
WIN_BAR := $(shell cygpath -w ${BAR})
cygpath accepts a lot of additional options. See the man page for details.
Use the shell function to execute the cygpath utility with the -w flag.
Example:
BAR := /cygdrive/c/foo/bar
WIN_BAR := $(shell cygpath -w ${BAR})
cygpath accepts a lot of additional options. See the man page for details.