12-10-2008
I searched the Internet for this ebook but found nothing! It was published in 1984!
At last, I found it in my universities' library. The book was great.
Thanks.
Last edited by mjdousti; 12-10-2008 at 05:13 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm trying to do string replacement with a Makefile and this is my scenario:
Inside file "fileA", I have "#include<text>" statements and I want to replace it with the text inside a file called "params". I wish to perform this task using Makefiles. I've tried using m4 but that only works if... (1 Reply)
Discussion started by: hc29
1 Replies
2. Programming
At my company, we build some stuff using a makefile. While the makefile script is running, a developer may check in a newer version of a source file. The problem is, when we next run the make command, the target file isn't rebuilt, because the date of the target is after the dependency.
Any... (1 Reply)
Discussion started by: mbbeaubi
1 Replies
3. Programming
Hi
I tried many times and I dont know what the he... is going on.
Problem:
I hava in /home/marcin/c1_menu/
this file:
menu_item_data.c
I want to compile this file.
so I tried something like this
CC=gcc
LIBS=-lmenu -lncurses
RM=rm
BINS=menu_item_data
%: %.o
${CC} -o $@... (1 Reply)
Discussion started by: marcintom
1 Replies
4. UNIX for Dummies Questions & Answers
Hello, I'm trying to use the make command with a makefile I've made for an assignment. The professor supplied the code and I've copied it into a new file. I made sure to place the tabs in the correct spaces, however when I try to execute it in UNIX I get:
"make: Fatal error in reader:... (5 Replies)
Discussion started by: Shinra1003
5 Replies
5. AIX
Hi all,
In a makefile I would like to grab the first line of a given parameter file using ‘head' and assign it to a variable, how do I do this?
I've got a simple makefile but it does not work?
#! /bin/ksh
...
.sqc.c:
db2prep $*.sqc bindfile
if ] DB2_PARM=`/usr/bin/head -1 $*.prm`; fi... (2 Replies)
Discussion started by: apersak
2 Replies
6. UNIX for Advanced & Expert Users
Hi, I'm trying to run the module load command in a Makefile and i'm getting the following error:
make: module: command not found
Why is this? Is there any way to run this command in a Makefile?
NOTE: command - module load msjava/sunjdk/1.5.0 works fine outside of the Makefile (2 Replies)
Discussion started by: hernandinho
2 Replies
7. Programming
Hello everybody,
Currently I'm learning how to build projects (C programming) with GNU make. I have a problem with one Makefile and I would appreciate if you could kindly give me a hand. Here is the environment:
OS: Redhat linux 5
compiler: gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)... (2 Replies)
Discussion started by: dariyoosh
2 Replies
8. UNIX for Advanced & Expert Users
I have 2 libraries in 2 different directories that I build with Makefiles.
library B depends on library A. If I modify a .cpp file in library A and run lib B's Makefile can I have B's makefile to automatically rebuild library A?
I am now rebuilding A, followed by B... but I'd like B to... (0 Replies)
Discussion started by: wwuster
0 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Basically, the prompt is make a makefile with various sub makefiles in their respective subdirectories. All code... (1 Reply)
Discussion started by: Tatl
1 Replies
10. Shell Programming and Scripting
Hi,
I have a question related to makefile. I'm new to makefile and I'm in the process of writing a makefile for my RBT build. I have multiple source files and when I compile them I will get multiple object files (one object file for each source file). I'm having problem in creating a target for... (1 Reply)
Discussion started by: Anand Venkatesa
1 Replies
LEARN ABOUT DEBIAN
ml-makedepend
ml-makedepend(1) General Commands Manual ml-makedepend(1)
NAME
ml-makedepend - list files a ML program depends upon
SYNOPSIS
ml-makedepend [ DU-options ] [ -n ] [ -f makefile ] project.cm target
ml-makedepend [ DU-options ] [ -a arch ] [ -o os ] [ -f makefile ] project.cm target
DESCRIPTION
This manual page documents briefly the ml-makedepend command. This manual page was written for the Debian distribution because the origi-
nal program does not have a manual page. The ml-makedepend script is part of the SML/NJ CM (Compilation and Library Manager) that is used
to generate a list of files that a ML program depends on for use by make.
OPTIONS
A summary of options is included below.
-n ml-makedepend usually uses the make variables $(ARCH) and $(OPSYS) in the filenames for the Makefile. This option disables this
feature.
-a arch
Use arch in place of $(ARCH).
-o os Use os in place of $(OPSYS).
-f makefile
Name of the makefile to be used rather than the default Makefile.
-Dname=value
Set CM variable to given value.
-Dname Set CM variable to 1.
-Uname Unset CM variable.
SEE ALSO
sml(1), ml-lex(1), ml-build(1), ml-yacc(1).
The programs are documented fully by CM: The SML/NJ Compilation and Library Manager, User Manual, Matthias Blume, which is available via
<http://cm.bell-labs.com/cm/cs/what/smlnj/doc/CM/new.pdf>.
AUTHOR
This manual page was written by Aaron Matthew Read <amread@nyx.net>, for the Debian GNU/Linux system (but may be used by others).
October 25, 2002 ml-makedepend(1)