GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 08-Jun-2009, 23:20
calvinlyp calvinlyp is offline
New Member
 
Join Date: Jun 2009
Posts: 8
calvinlyp is on a distinguished road

Creating .exe file with multiple CPP files


hi all,

i am relatively new to C++ programming.

i downloaded a program from sourceforge and edited some of its cpp files, i was told that by changing the Makefile i will be able to create a .exe file with the combination of multiple .cpp, .h and .o files.

may i know how to go about changing the values of the Makefile?

please find attached documents as the Makefile of the program i downloaded.

please help and advise
Attached Files
File Type: zip Makefile.in.zip (9.3 KB, 10 views)
  #2  
Old 09-Jun-2009, 04:44
Mexican Bob's Avatar
Mexican Bob Mexican Bob is offline
Member
 
Join Date: Mar 2008
Location: Chicxulub, Yucatán
Posts: 226
Mexican Bob is a jewel in the roughMexican Bob is a jewel in the roughMexican Bob is a jewel in the rough

Re: problem with creating .exe file with multiple cpp files


Quote:
Originally Posted by calvinlyp
hi all,

i am relatively new to C++ programming.

i downloaded a program from sourceforge and edited some of its cpp files, i was told that by changing the Makefile i will be able to create a .exe file with the combination of multiple .cpp, .h and .o files.

may i know how to go about changing the values of the Makefile?

please find attached documents as the Makefile of the program i downloaded.

please help and advise

You probably do not need to edit the makefile(s). What you probably need to do is simply run make.

Makefile.in is a way of indicating that it is an "include" file for another Makefile.

There are many online resources available for hacking makefiles. Google is your friend.

Try: http://www.eng.hawaii.edu/Tutor/Make/


MxB
 
 

Recent GIDBlogProgramming ebook direct download available by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Working with binary files bobby2009 C Programming Language 9 13-Apr-2009 01:53
Named virtual host not working Johnnyrotton Apache Web Server Forum 4 04-Sep-2007 21:32
Problem in Creating a .mdb file <assertion in ~_AFX_DAO_STATE()> Janakiraman MS Visual C++ / MFC Forum 1 12-Nov-2005 13:03
Vernam encryption cipher Zorachus C++ Forum 9 31-Jul-2005 15:49
Yet another CD burner problem: Lite-On LSC-24082K Erwin Computer Hardware Forum 1 22-May-2004 12:28

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 05:54.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.