报错:
gcc -c -o obj/calc.o calc.c -I../include
Assembler messages:
Fatal error: can't create obj/calc.o: No such file or directory
make: *** [obj/calc.o] Error 1
解决方法:
sh xxx.sh
./xxx.sh
这两个命令换着试
有时候第一个命令起作用,有时候第二个命令起作用
很奇怪
如果不行就检查一下makefile问价是不是出错了