c2make--Makefile创建者
- ubuntu-mm
- 帖子: 55
- 注册时间: 2010-02-28 12:26
- 系统: Ubuntu 18.04
- 来自: 武汉
- 联系:
c2make--Makefile创建者
c2make 创建者,是一款根据源文件直接生成Makefile文件的得力助手工具,可以用于C、C++、GTK+、Gtkmm、Motif、wxWidget以及OpenGL程序开发。
c2make Source Forge 主页:http://sourceforge.net/projects/c2make/files/
示例:
// mytest.c
#include <stdio.h>
#include <math.h>
int main()
{
double s = sqrt(9);
printf("s = %f\n", s);
return 0;
}
您可以去附件中下载,然后安装。打开终端,进入mytest.c所在目录,使用以下命令:
c2make mytest "" -lm
即可。
GTK+程序hello.c示例:
编辑一个GTK+程序(前提是您的电脑上必须安装Gtk+开发环境),然后打开终端进入到hello.c所在目录中:
$c2make hello "" ""
c2make (2.10.05-7)
C2make Builder, is a helpful assistant tool which can create the Makefile from the source files directly when you do C, C++, GTK+, Gtkmm, Motif, wxWidget and OpenGL programming.
Copyright (C) 2010 Chinsoft Studio.
Written by young <[email protected]> on May 27th, 2010.
--------Menu-------
1---c program
2---c++ program
3---gtk+ program
4---gtkmm program
5---motif program
6---wxWidget program
7---OpenGL program
-------------------
please choose a type of the program:
3
create the file makefile successfully!
$make
到此完成GTK+程序hello.c的编译。
如果您想了解c2make的使用方法,可以在终端中输入:
man c2make
c2make-2.10.05-7.tar.gz 文件已经上传了,下载完毕后,使用以下命令编译:
tar -xvzf c2make-2.10.05-7.tar.gz
cd c2make-2.10.05-7
./configure
make
安装:
sudo make install
卸载:
sudo make uninstall
--------------------------------------------------------分割线---------------------------------------------------------------------------------------
c2make-2.10.06-8.tar.gz,该版本已添加安装与卸载功能。此外,该版本tar包中添加了MAN手册文件c2make.1。下载后,请使用以下命令编译:
tar -xvzf c2make-2.10.06-8.tar.gz
cd c2make-2.10.06-8
./configure
make
安装:
sudo make install
卸载:
sudo make uninstall
示例工程mytest:
1.生成Makefile文件
cd ~/workspace/cprograms/mytest
c2make mytest "" ""
2.安装
cd ~/workspace/cprograms/mytest
sudo make install
3.卸载
cd ~/workspace/cprograms/mytest
sudo make uninstall
c2make Source Forge 主页:http://sourceforge.net/projects/c2make/files/
示例:
// mytest.c
#include <stdio.h>
#include <math.h>
int main()
{
double s = sqrt(9);
printf("s = %f\n", s);
return 0;
}
您可以去附件中下载,然后安装。打开终端,进入mytest.c所在目录,使用以下命令:
c2make mytest "" -lm
即可。
GTK+程序hello.c示例:
编辑一个GTK+程序(前提是您的电脑上必须安装Gtk+开发环境),然后打开终端进入到hello.c所在目录中:
$c2make hello "" ""
c2make (2.10.05-7)
C2make Builder, is a helpful assistant tool which can create the Makefile from the source files directly when you do C, C++, GTK+, Gtkmm, Motif, wxWidget and OpenGL programming.
Copyright (C) 2010 Chinsoft Studio.
Written by young <[email protected]> on May 27th, 2010.
--------Menu-------
1---c program
2---c++ program
3---gtk+ program
4---gtkmm program
5---motif program
6---wxWidget program
7---OpenGL program
-------------------
please choose a type of the program:
3
create the file makefile successfully!
$make
到此完成GTK+程序hello.c的编译。
如果您想了解c2make的使用方法,可以在终端中输入:
man c2make
c2make-2.10.05-7.tar.gz 文件已经上传了,下载完毕后,使用以下命令编译:
tar -xvzf c2make-2.10.05-7.tar.gz
cd c2make-2.10.05-7
./configure
make
安装:
sudo make install
卸载:
sudo make uninstall
--------------------------------------------------------分割线---------------------------------------------------------------------------------------
c2make-2.10.06-8.tar.gz,该版本已添加安装与卸载功能。此外,该版本tar包中添加了MAN手册文件c2make.1。下载后,请使用以下命令编译:
tar -xvzf c2make-2.10.06-8.tar.gz
cd c2make-2.10.06-8
./configure
make
安装:
sudo make install
卸载:
sudo make uninstall
示例工程mytest:
1.生成Makefile文件
cd ~/workspace/cprograms/mytest
c2make mytest "" ""
2.安装
cd ~/workspace/cprograms/mytest
sudo make install
3.卸载
cd ~/workspace/cprograms/mytest
sudo make uninstall
- 附件
-
- c2make_2.10.06-8_i386_lucid.deb
- c2make for lucid
- (6.83 KiB) 已下载 65 次
-
- c2make-2.10.06-8.tar.gz
- c2make-2.10.06-8.tar.gz
- (95.47 KiB) 已下载 59 次
-
- c2make_2.10.06-8_i386_karmic.deb
- c2make_2.10.06-8
- (7.26 KiB) 已下载 51 次
-
- c2make-2.10.05-7.tar.gz
- c2make-2.10.05-7.tar.gz
- (94.77 KiB) 已下载 48 次
-
- c2make_2.10.05-7_i386_karmic.deb
- c2make
- (7.2 KiB) 已下载 49 次
上次由 ubuntu-mm 在 2010-08-07 23:19,总共编辑 10 次。
Be With Freedom, Be With Ubuntu!
与自由同在,与Ubuntu同行!
欢迎访问默之的博客:http://mutse.github.io
与自由同在,与Ubuntu同行!
欢迎访问默之的博客:http://mutse.github.io
- i_NIX
- 帖子: 450
- 注册时间: 2008-02-11 15:46
Re: c2make--Makefile创建者
这个东西是好还是坏呢?
Google Talk群组,请来<雨云>一番!
主题:Ubuntu、Linux、编程、科幻、民主、科学等。
添加 [email protected] 为好友(然后say hi,并等待验证)
参见 http://goo.gl/xIpxH
Twitter:http://twitter.com/nixzhu
主题:Ubuntu、Linux、编程、科幻、民主、科学等。
添加 [email protected] 为好友(然后say hi,并等待验证)
参见 http://goo.gl/xIpxH
Twitter:http://twitter.com/nixzhu
- lgxwqq
- 帖子: 1145
- 注册时间: 2009-12-04 13:29
Re: c2make--Makefile创建者
试试,希望能用上 

关注和奉献Tianjin Linux User Group的建设,热心参与开源社区,Linux爱好者,python初学者,希望成为一名geek,求交流求指导
我知道发QQ群是不对的。。。可是:Linux天津qq群104029520 73809331,终有一天会没有QQ的。。
Blog:http://www.freetstar.com //欢迎
twitter:https://twitter.com/freetstar
我知道发QQ群是不对的。。。可是:Linux天津qq群104029520 73809331,终有一天会没有QQ的。。
Blog:http://www.freetstar.com //欢迎
twitter:https://twitter.com/freetstar
- UserLogin
- 帖子: 111
- 注册时间: 2010-04-09 14:07
- 来自: NZ
- ubuntu-mm
- 帖子: 55
- 注册时间: 2010-02-28 12:26
- 系统: Ubuntu 18.04
- 来自: 武汉
- 联系:
Re: c2make--Makefile创建者
回复 :4 楼 UserLogin
上面的Debian包是在Ubuntu 9.10 32bits上编译生成的,可能在Ubuntu 10.04上无法运行(内核版本不同)。
我会尽快将标准的tar.gz包上传上来,供大家下载!
上面的Debian包是在Ubuntu 9.10 32bits上编译生成的,可能在Ubuntu 10.04上无法运行(内核版本不同)。
我会尽快将标准的tar.gz包上传上来,供大家下载!
Be With Freedom, Be With Ubuntu!
与自由同在,与Ubuntu同行!
欢迎访问默之的博客:http://mutse.github.io
与自由同在,与Ubuntu同行!
欢迎访问默之的博客:http://mutse.github.io
- ubuntu-mm
- 帖子: 55
- 注册时间: 2010-02-28 12:26
- 系统: Ubuntu 18.04
- 来自: 武汉
- 联系:
Re: c2make--Makefile创建者
写这个工具,就是免去手写Makefile文件,根据源代码直接生成Makefile文件,然后运行make命令便可编译工程。i_NIX 写了:这个东西是好还是坏呢?
Be With Freedom, Be With Ubuntu!
与自由同在,与Ubuntu同行!
欢迎访问默之的博客:http://mutse.github.io
与自由同在,与Ubuntu同行!
欢迎访问默之的博客:http://mutse.github.io
- ubuntu-mm
- 帖子: 55
- 注册时间: 2010-02-28 12:26
- 系统: Ubuntu 18.04
- 来自: 武汉
- 联系:
Re: c2make--Makefile创建者
谢谢支持!lgxwqq 写了:试试,希望能用上
Be With Freedom, Be With Ubuntu!
与自由同在,与Ubuntu同行!
欢迎访问默之的博客:http://mutse.github.io
与自由同在,与Ubuntu同行!
欢迎访问默之的博客:http://mutse.github.io
- ubuntu-mm
- 帖子: 55
- 注册时间: 2010-02-28 12:26
- 系统: Ubuntu 18.04
- 来自: 武汉
- 联系:
Re: c2make--Makefile创建者
上面的Debian包是在Ubuntu 9.10 32bits上编译生成的,可能在Ubuntu 10.04上无法运行(内核版本不同)。UserLogin 写了:is it available for lucid 64bit?
我会尽快将标准的tar.gz包上传上来,供大家下载!
Be With Freedom, Be With Ubuntu!
与自由同在,与Ubuntu同行!
欢迎访问默之的博客:http://mutse.github.io
与自由同在,与Ubuntu同行!
欢迎访问默之的博客:http://mutse.github.io
- UserLogin
- 帖子: 111
- 注册时间: 2010-04-09 14:07
- 来自: NZ
Re: c2make--Makefile创建者
前两天一直为makefile头疼,不过最后还是自己写了ubuntu-mm 写了:上面的Debian包是在Ubuntu 9.10 32bits上编译生成的,可能在Ubuntu 10.04上无法运行(内核版本不同)。UserLogin 写了:is it available for lucid 64bit?
我会尽快将标准的tar.gz包上传上来,供大家下载!
期待程序出来瞧瞧
- ubuntu-mm
- 帖子: 55
- 注册时间: 2010-02-28 12:26
- 系统: Ubuntu 18.04
- 来自: 武汉
- 联系:
Re: c2make--Makefile创建者
c2make-2.10.05-7.tar.gz 文件已经上传了,下载完毕后,使用以下命令编译:UserLogin 写了:前两天一直为makefile头疼,不过最后还是自己写了ubuntu-mm 写了:上面的Debian包是在Ubuntu 9.10 32bits上编译生成的,可能在Ubuntu 10.04上无法运行(内核版本不同)。UserLogin 写了:is it available for lucid 64bit?
我会尽快将标准的tar.gz包上传上来,供大家下载!
期待程序出来瞧瞧
tar -xvzf c2make-2.10.0-7.tar.gz
cd c2make
./configure
make
安装:
sudo make install
卸载:
sudo make uninstall
Be With Freedom, Be With Ubuntu!
与自由同在,与Ubuntu同行!
欢迎访问默之的博客:http://mutse.github.io
与自由同在,与Ubuntu同行!
欢迎访问默之的博客:http://mutse.github.io
- UserLogin
- 帖子: 111
- 注册时间: 2010-04-09 14:07
- 来自: NZ
Re: c2make--Makefile创建者
tar -xvzf c2make-2.10.05-7.tar.gzubuntu-mm 写了:c2make-2.10.05-7.tar.gz 文件已经上传了,下载完毕后,使用以下命令编译:UserLogin 写了:前两天一直为makefile头疼,不过最后还是自己写了ubuntu-mm 写了:上面的Debian包是在Ubuntu 9.10 32bits上编译生成的,可能在Ubuntu 10.04上无法运行(内核版本不同)。UserLogin 写了:is it available for lucid 64bit?
我会尽快将标准的tar.gz包上传上来,供大家下载!
期待程序出来瞧瞧
tar -xvzf c2make-2.10.0-7.tar.gz
cd c2make
./configure
make
安装:
sudo make install
卸载:
sudo make uninstall
cd c2make-2.10.05-7
./configure
make
- Jarson
- 帖子: 2371
- 注册时间: 2008-07-21 9:44
- 来自: 深圳
- 联系:
-
- 帖子: 133
- 注册时间: 2009-05-09 15:48
- ubuntu-mm
- 帖子: 55
- 注册时间: 2010-02-28 12:26
- 系统: Ubuntu 18.04
- 来自: 武汉
- 联系:
Re: c2make--Makefile创建者
c2make, which is a free software that was released by Chin Foundry, is a helpful assistant tool which can generate the Makefile from the source files directly when you do C, C++, GTK+, Gtkmm, Motif, wxWidget and OpenGL programming.
Chin Foundry has announced the release of c2make 3.10.10-1 on October 10th, 2010.
Chin Foundry has announced the release of c2make 3.10.10-1 on October 10th, 2010.
- 附件
-
- c2make_3.10.10-1_i386_lucid.deb
- c2make 3.10.10-1 for Lucid
- (8.09 KiB) 已下载 46 次
Be With Freedom, Be With Ubuntu!
与自由同在,与Ubuntu同行!
欢迎访问默之的博客:http://mutse.github.io
与自由同在,与Ubuntu同行!
欢迎访问默之的博客:http://mutse.github.io