05-19-2011
how to run a shell script through Makefile
I want to run a target defined in a shell script. The shell script name is 'ua.sc' and the target in it is 'N' i.e. (ua N) throught a makefile. How can i do it so that i can run it with a make target.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I am new to shell scripting and makefile. I want a command's output in
makefile to process further, can anyone plz suggest me a way ?
I want ls -d *.dsm output in a variable and want to process it in makefile itself.
It's urgent
Thanks In advance (0 Replies)
Discussion started by: madhu12345
0 Replies
2. Shell Programming and Scripting
Hi,
Can we execute a shell script by makefile.
I mean we will write a shell script in a make file and it will be executed when we compile the C++ program using make file. (2 Replies)
Discussion started by: surjyap
2 Replies
3. Shell Programming and Scripting
Is there a way to write a makefile for all the source files in a directory with a shell script? (2 Replies)
Discussion started by: zzhan
2 Replies
4. Shell Programming and Scripting
Hi,
I have learned native compilation of basic c code example programs from the net.
The issue is, .c code file doesn't come with respective Makefile.
Visited some web sites with Makefile manuals but still can not master writing Makefile file to work.
The idea is to have intelligent shell... (5 Replies)
Discussion started by: darius2
5 Replies
5. 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
6. Shell Programming and Scripting
Hi,
I have a bash script which calls a few "make". I would like to know whether the makefile failed with any errors. How do I do that in the script?
Thanks,
S (2 Replies)
Discussion started by: suryaemlinux
2 Replies
7. Shell Programming and Scripting
I'm writing a VERY simple shell script. I need to call a makefile in a subdirectory. What's the command I need to use?
./dir/make and ./dir/makefile doesn't work.
Thanks in advance (1 Reply)
Discussion started by: yamahabob
1 Replies
8. Shell Programming and Scripting
Hello,
I have a Makefile that converts wrl (vrml) files to html files...
how can I use a shell script in that makefile which works on all html files after converting?
The Shell Script have to find and replace a String in every createt html file.
sorry I'm a Newbie, so I hope someone can... (0 Replies)
Discussion started by: Dan_78
0 Replies
9. Shell Programming and Scripting
Linux System having all Perl, Python, PHP (and Ruby) installed
From a Shell script, can call a Perl, Python, PHP (or Ruby ?) file
eg
eg
a Shell script run in a case statement call to run a php file, also Perl or/and Python file???
Like
#!/usr/bin/bash
....
....
case $INPUT_STRING... (1 Reply)
Discussion started by: hoyanet
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)