473,395 Members | 1,987 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How do you update a Makefile?

I'm basically a summer student working on a program called Rivet.
(http://projects.hepforge.org/rivet/) And I'm trying to port it to
BOINC so that the hosts can download the BOINC client and do some
calculation over a large clusters of computers.

Me being an absolute beginner at programming, I don't know how to
update the Makefile in Rivet! I edited the Makefile.am in the src
directory to include the BOINC APIs and Libraries, but what do you do
then? do you use autoconf to generate a Makefile.in? and then run ./
configure all overagain? cause if thats the case it didn't work.

Any help would be much appreciated!
Thanks
Chris
Jun 30 '08 #1
2 2119
chutsu <ch****@gmail.comwrote:
I'm basically a summer student working on a program called Rivet.
(http://projects.hepforge.org/rivet/) And I'm trying to port it to
BOINC so that the hosts can download the BOINC client and do some
calculation over a large clusters of computers.
Me being an absolute beginner at programming, I don't know how to
update the Makefile in Rivet! I edited the Makefile.am in the src
directory to include the BOINC APIs and Libraries, but what do you do
then? do you use autoconf to generate a Makefile.in? and then run ./
configure all overagain? cause if thats the case it didn't work.
Since Makefiles (and automake etc.) aren't in any way related to
C this isn't a good group to ask for help. I would recommend that
you ask for example in comp.unix.programmer since Makefiles and
automake are more or less standard tools used in a UNIX environ-
ment. If you do so it would probably help a lot if you would
give a more detailed explanation of what you try to do. Just
telling "it didn't work" doesn't tell what exactly you did try
and what the exact results where. You should start with a clear
description of what you want to achieve and what tools you're
supposed to use (e.g. what's "Rivet!", what exactly means
"include the BOINC APIs and Libraries" etc.?). Try to remember
that the prople reading your posts have no idea what you're
doing and can't see your screen;-) Also be aware that Makefiles
and automake and friends can be a bit hard to understand, espe-
cially for someone with not much experience in programming. So
don't get frustrated if you either don't understand all answers
at once or people tell you that you left out important details
in your problem description...

Regards, Jens
--
\ Jens Thoms Toerring ___ jt@toerring.de
\__________________________ http://toerring.de
Jun 30 '08 #2
On 30 Jun 2008 at 10:33, chutsu wrote:
Me being an absolute beginner at programming, I don't know how to
update the Makefile in Rivet! I edited the Makefile.am in the src
directory to include the BOINC APIs and Libraries, but what do you do
then? do you use autoconf to generate a Makefile.in? and then run ./
configure all overagain? cause if thats the case it didn't work.
You edit Makefile.am, and run automake. This produces Makefile.in, which
is read by the configure script (produced by autoconf) to create the
final output, namely a Makefile.

If you need any more specific help, you'll need to specify the problem
more specifically!

Jun 30 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Bryan Olson | last post by:
Here's the problem: Suppose we use: import socket f = some_socket.makefile() Then: f.read() is efficient, but verbose, and incorrect (or at least does not play will with others);
1
by: Jamie Saker | last post by:
I think I'm overlooking something assumed in socket's makefile method. Googling several hours and digging thru the python reference didn't help - I think I'm overlooking an assumption between...
4
by: newbiecpp | last post by:
I am very sorry to post this one because I know it is out of topic but I cannot find the proper news group. I understand that most senior C++ programmers know makefile very well. My question is...
4
by: Sharp Tool | last post by:
Hi I have downloaded a program that is written in C++ that I would like to compile into a Win XP executable. The program contains a Makefile written for Unix/linux/cygwin. I would like to...
2
by: Juhan Voolaid | last post by:
Hello I need help with my makefile, so that when I compile my project the source code files would be separated from the object (*.o) files. So if I have: main.cpp and classes.cpp - the...
4
by: Jess | last post by:
Hello, I am now trying to use makefile to compile C++ programs. My makefile looks like: f1.o : f1.cpp h1.h h2.h g++ -c f1.cpp f2.o : f2.cpp h2.h h3.h g++ -c f2.cpp
8
by: xz | last post by:
I am a rookie of C++ and got so confused with the Makefile these days. Could anyone be so kind and give a little sample Makefile for the following particular example? Let's say I have the...
1
by: rpjanaka | last post by:
I am using an open source library called IGI_UDP for measure the available bandwidth of a link (http://www.cs.cmu.edu/%7Ehnn/igi/ ). with that library they have provided a "Makefile" which is not an...
5
by: M.Liang Liu | last post by:
I have a project with the following dirs: --------------------------------------------------------------------------------------- +src |-proj0 |-program1 |-program2 |-proj1 |-program1...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.