makefile吧 关注:105贴子:187
  • 2回复贴,共1

求助啊 makefile

收藏回复

  • 121.15.134.*
test:test.o
     gcc -o test test.o
test.o:test.cpp test.h
     gcc -c test.cpp
clean:
     rm test test.o
运行提示不知如何生成 test.cpp


1楼2010-03-29 15:28回复
    gcc -o test   test.cpp -lstdc++
    需要连接标准库吧?


    IP属地:北京禁言 |2楼2011-04-22 18:06
    回复
      test.cpp 文件不存在。


      禁言 |3楼2011-11-18 00:05
      回复