Solved

create a make file project in visual studio

Posted on 2006-10-28
4
811 Views
Last Modified: 2008-03-06
hi experts,
actually, i'm trying to create a project in visual studio 98.
and this project should contains header files and make file with couple of source files.
however, i'm able to do that. i was trying this with makefile and other types of projects.
can you give me some idea how can i create it, or send me the sample code so that i can take help of that.
0
Comment
Question by:rrahulgupta
  • 2
  • 2
4 Comments
 
LVL 16

Expert Comment

by:PaulCaswell
ID: 17828564
Hi rrahulgupta,

The MakeFile project in VS is more used for taking an old project that uses a make file and getting it working in VS. Generally you would not use MakeFile projects unless you have to. Why do you need one?  

Paul
0
 

Author Comment

by:rrahulgupta
ID: 17829833
thanks paul.
actually, i have to develop an api that will interact will mysql database.
so, for that i need to write couple of c files with makefile.
because i'm new to C language but have good idea in java programming and wriiten the same kind of api in java.
i want to let u know that currentely i'm using mingw-mysys to build the c project and not using any ide.    
what should i do to implement in c language?

-rahul
0
 
LVL 16

Accepted Solution

by:
PaulCaswell earned 500 total points
ID: 17830849
If you already have the C code building with a .mak file then you would be better to create an ordinary project and let VC work out the dependencies.

Create your project as a normal app. Add your sources to it and build it. Deal with the problems as you find them.

If you dont know how to create a project, get VC to create a 'hello world' project and work from there.

What problems do you get when you try this?

Paul
0
 

Author Comment

by:rrahulgupta
ID: 17830913
thanks paul.
now i'm able to create the project on eclipse CDT and not using VS.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question