|
10鱼币
本帖最后由 rt3 于 2020-4-27 17:38 编辑
下面这段makefile代码执行时报错
/bin/sh: 1: Syntax error: "then" unexpected
谢谢
- am__is_gnu_make = { \
- if test -z '$(MAKELEVEL)'; then \
- false; \
- elif test -n '$(MAKE_HOST)'; then \
- true; \
- elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
- true; \
- else \
- false; \
- fi; \
- }
- main.run:main
- echo $am__is_gnu_make=${am__is_gnu_make}
复制代码
- am__is_gnu_make = ` \
- if test -z '$(MAKELEVEL)'; then \
- echo "false"; \
- elif test -n '$(MAKE_HOST)'; then \
- echo "true"; \
- elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
- echo "true"; \
- else \
- echo "false"; \
- fi; \
- `
- .PHONY: main
- main:
- echo am__is_gnu_make=${am__is_gnu_make}
复制代码
|
|