c2make--Makefile创建者

仅仅用于软件推荐,不适合发求软件或软件使用问题方面的贴子
回复
头像
ubuntu-mm
帖子: 55
注册时间: 2010-02-28 12:26
系统: Ubuntu 18.04
来自: 武汉
联系:

c2make--Makefile创建者

#1

帖子 ubuntu-mm » 2010-06-01 20:06

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_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
头像
i_NIX
帖子: 450
注册时间: 2008-02-11 15:46

Re: c2make--Makefile创建者

#2

帖子 i_NIX » 2010-06-02 22:03

这个东西是好还是坏呢?
Google Talk群组,请来<雨云>一番!
主题:UbuntuLinux编程科幻、民主、科学等。
添加 [email protected] 为好友(然后say hi,并等待验证)
参见 http://goo.gl/xIpxH

Twitter:http://twitter.com/nixzhu
头像
lgxwqq
帖子: 1145
注册时间: 2009-12-04 13:29

Re: c2make--Makefile创建者

#3

帖子 lgxwqq » 2010-06-03 10:47

试试,希望能用上 :em06
关注和奉献Tianjin Linux User Group的建设,热心参与开源社区,Linux爱好者,python初学者,希望成为一名geek,求交流求指导

我知道发QQ群是不对的。。。可是:Linux天津qq群104029520 73809331,终有一天会没有QQ的。。

Blog:http://www.freetstar.com //欢迎
twitter:https://twitter.com/freetstar
头像
UserLogin
帖子: 111
注册时间: 2010-04-09 14:07
来自: NZ

Re: c2make--Makefile创建者

#4

帖子 UserLogin » 2010-06-03 13:01

is it available for lucid 64bit?
头像
ubuntu-mm
帖子: 55
注册时间: 2010-02-28 12:26
系统: Ubuntu 18.04
来自: 武汉
联系:

Re: c2make--Makefile创建者

#5

帖子 ubuntu-mm » 2010-06-03 19:23

回复 :4 楼 UserLogin

上面的Debian包是在Ubuntu 9.10 32bits上编译生成的,可能在Ubuntu 10.04上无法运行(内核版本不同)。
我会尽快将标准的tar.gz包上传上来,供大家下载!
Be With Freedom, Be With Ubuntu!
与自由同在,与Ubuntu同行!

欢迎访问默之的博客:http://mutse.github.io
头像
ubuntu-mm
帖子: 55
注册时间: 2010-02-28 12:26
系统: Ubuntu 18.04
来自: 武汉
联系:

Re: c2make--Makefile创建者

#6

帖子 ubuntu-mm » 2010-06-03 19:25

i_NIX 写了:这个东西是好还是坏呢?
写这个工具,就是免去手写Makefile文件,根据源代码直接生成Makefile文件,然后运行make命令便可编译工程。
Be With Freedom, Be With Ubuntu!
与自由同在,与Ubuntu同行!

欢迎访问默之的博客:http://mutse.github.io
头像
ubuntu-mm
帖子: 55
注册时间: 2010-02-28 12:26
系统: Ubuntu 18.04
来自: 武汉
联系:

Re: c2make--Makefile创建者

#7

帖子 ubuntu-mm » 2010-06-03 19:25

lgxwqq 写了:试试,希望能用上 :em06
谢谢支持!
Be With Freedom, Be With Ubuntu!
与自由同在,与Ubuntu同行!

欢迎访问默之的博客:http://mutse.github.io
头像
ubuntu-mm
帖子: 55
注册时间: 2010-02-28 12:26
系统: Ubuntu 18.04
来自: 武汉
联系:

Re: c2make--Makefile创建者

#8

帖子 ubuntu-mm » 2010-06-03 19:26

UserLogin 写了:is it available for lucid 64bit?
上面的Debian包是在Ubuntu 9.10 32bits上编译生成的,可能在Ubuntu 10.04上无法运行(内核版本不同)。
我会尽快将标准的tar.gz包上传上来,供大家下载!
Be With Freedom, Be With Ubuntu!
与自由同在,与Ubuntu同行!

欢迎访问默之的博客:http://mutse.github.io
头像
UserLogin
帖子: 111
注册时间: 2010-04-09 14:07
来自: NZ

Re: c2make--Makefile创建者

#9

帖子 UserLogin » 2010-06-04 20:07

ubuntu-mm 写了:
UserLogin 写了:is it available for lucid 64bit?
上面的Debian包是在Ubuntu 9.10 32bits上编译生成的,可能在Ubuntu 10.04上无法运行(内核版本不同)。
我会尽快将标准的tar.gz包上传上来,供大家下载!
前两天一直为makefile头疼,不过最后还是自己写了
期待程序出来瞧瞧
头像
ubuntu-mm
帖子: 55
注册时间: 2010-02-28 12:26
系统: Ubuntu 18.04
来自: 武汉
联系:

Re: c2make--Makefile创建者

#10

帖子 ubuntu-mm » 2010-06-05 22:45

UserLogin 写了:
ubuntu-mm 写了:
UserLogin 写了:is it available for lucid 64bit?
上面的Debian包是在Ubuntu 9.10 32bits上编译生成的,可能在Ubuntu 10.04上无法运行(内核版本不同)。
我会尽快将标准的tar.gz包上传上来,供大家下载!
前两天一直为makefile头疼,不过最后还是自己写了
期待程序出来瞧瞧
c2make-2.10.05-7.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
头像
UserLogin
帖子: 111
注册时间: 2010-04-09 14:07
来自: NZ

Re: c2make--Makefile创建者

#11

帖子 UserLogin » 2010-06-06 15:14

ubuntu-mm 写了:
UserLogin 写了:
ubuntu-mm 写了:
UserLogin 写了:is it available for lucid 64bit?
上面的Debian包是在Ubuntu 9.10 32bits上编译生成的,可能在Ubuntu 10.04上无法运行(内核版本不同)。
我会尽快将标准的tar.gz包上传上来,供大家下载!
前两天一直为makefile头疼,不过最后还是自己写了
期待程序出来瞧瞧
c2make-2.10.05-7.tar.gz 文件已经上传了,下载完毕后,使用以下命令编译:
tar -xvzf c2make-2.10.0-7.tar.gz
cd c2make
./configure
make

安装:
sudo make install

卸载:
sudo make uninstall
tar -xvzf c2make-2.10.05-7.tar.gz
cd c2make-2.10.05-7
./configure
make
头像
Jarson
帖子: 2371
注册时间: 2008-07-21 9:44
来自: 深圳
联系:

Re: c2make--Makefile创建者

#12

帖子 Jarson » 2010-06-06 22:13

mark :em11
leon_young
帖子: 133
注册时间: 2009-05-09 15:48

Re: c2make--Makefile创建者

#13

帖子 leon_young » 2010-09-06 17:19

先留着! :em11
头像
ubuntu-mm
帖子: 55
注册时间: 2010-02-28 12:26
系统: Ubuntu 18.04
来自: 武汉
联系:

Re: c2make--Makefile创建者

#14

帖子 ubuntu-mm » 2010-10-10 1:57

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.
附件
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
回复