git 中的 make 文件有问题
Having problems with make file within git
我在使用git时完全是新手。
我正在尝试 compile/make 编译这个 git 存储库,但没有成功。
https://github.com/cithraidt/lwcloneu2
每次我尝试使用 make 创建文件时,我都会收到以下错误
for i in arduino_mega2560 arduino_leonardo arduino_uno breakout_32u2 arduino_promicro; do make --directory=$i clean; make --directory=$i all; done
i was unexpected at this time.
makefile:5: recipe for target 'all' failed
make: *** [all] Error 255
再一次,我在这方面完全是个新手,很乐意接受任何建议。
您没有告诉我们您试图在 Windows 上执行此操作的关键信息。我可以告诉你是,因为错误消息 i 在这个时候是意外的。 是 Windows 终端命令行打印的消息。
该 makefile 是为 POSIX 系统(例如 GNU/Linux)编写的。如果不进行大量修改,您将无法在 Windows 上使用它。
根据 README 文件,Git 存储库中有 Visual Studio 个项目文件;我希望您需要使用这些在 Windows.
上重建此代码
我在使用git时完全是新手。
我正在尝试 compile/make 编译这个 git 存储库,但没有成功。
https://github.com/cithraidt/lwcloneu2
每次我尝试使用 make 创建文件时,我都会收到以下错误
for i in arduino_mega2560 arduino_leonardo arduino_uno breakout_32u2 arduino_promicro; do make --directory=$i clean; make --directory=$i all; done
i was unexpected at this time.
makefile:5: recipe for target 'all' failed
make: *** [all] Error 255
再一次,我在这方面完全是个新手,很乐意接受任何建议。
您没有告诉我们您试图在 Windows 上执行此操作的关键信息。我可以告诉你是,因为错误消息 i 在这个时候是意外的。 是 Windows 终端命令行打印的消息。
该 makefile 是为 POSIX 系统(例如 GNU/Linux)编写的。如果不进行大量修改,您将无法在 Windows 上使用它。
根据 README 文件,Git 存储库中有 Visual Studio 个项目文件;我希望您需要使用这些在 Windows.
上重建此代码