Solved

create a make file project in visual studio

Posted on 2006-10-28
4
810 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
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…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

813 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now