1

我在 64 位 Windows 上使用 cygwin,但是在编译 makefile 时出现此错误

/bin/sh: -c: line 0: syntax error near unexpected token `('

我应该怎么办 ?

4

1 回答 1

0

只是猜测:您在 Makefile 中使用了 bashisms,但没有设置 shell(/bin/sh报告错误)。只是状态

SHELL := /bin/bash

在 Makefile 的顶部。

于 2015-08-06T09:25:36.467 回答