生成makefile文件编译源文件

时间:2021-09-22 12:39:15

1.利用CodeBlock的cbp文件生成makefile文件

  reverse@ubuntu:~/Desktop/CreateMakeFile$ ls
  cbp2make.linux-x86 freegate_android_32_verifier_tcp_topsec.cbp
  reverse@ubuntu:~/Desktop/CreateMakeFile$ ./cbp2make.linux-x86 -in freegate_android_32_verifier_tcp_topsec.cbp -out makefile
  Starting cbp2make rev.147...
  Using default configuration.
  Loading file 'freegate_android_32_verifier_tcp_topsec.cbp': [DONE]
  Generating makefile(s): makefile: [DONE]
  reverse@ubuntu:~/Desktop/CreateMakeFile$

2.将makefile文件拷贝到源文件目录

  make编译