Solved

create a make file project in visual studio

Posted on 2006-10-28
4
812 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C language IDE – Compilers installation 14 88
Line meaning 9 94
delete-remove 14 113
Resolve Dependency Issues 4 96
Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
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.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

740 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