473,662 Members | 2,546 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2136
chutsu <ch****@gmail.c omwrote:
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.progr ammer 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
11753
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
4645
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 Python and UNIX socket objects neither is explicitely discussing. I think my mknod In the makefile operation on socket (pydoc socket.socket.makefile... using AF_UNIX, allowing you to create a file object to correspond to a socket) I've got an sample...
4
3275
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 GNU makefile support command line argument? I want to write a makefile so that when you invoke "make test", the makefile will compile test like this: $project = "command line argument, i.e., test";
4
2897
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 modify it, if neccessary, so that I can compile it using MS Visual C++ 6.0. Here is the code for the Makefile: //START
2
3015
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 filestructure should be like that: project_dir/ source_dir/ main.cpp
4
3952
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
3193
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 following files describing 4 classes (A, B, C1, C2) and a test program (test.cpp) which runs a test for classes C1 and C2. A.h A.cpp
1
5037
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 auto generated one. the following is the given Makefile, ***************************************************************** CC = gcc INCS = -I. CFLAGS = -g -Wall $(DEFS) $(INCS)
5
3297
by: M.Liang Liu | last post by:
I have a project with the following dirs: --------------------------------------------------------------------------------------- +src |-proj0 |-program1 |-program2 |-proj1 |-program1 |-program2 |-program3
0
8432
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8857
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8764
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8546
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5654
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2762
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1752
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.