Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Help running a Makefile from within a .sh script? Post 303005275 by cherryTango on Monday 16th of October 2017 12:48:57 PM
Old 10-16-2017
Running the
Code:
populateMFiles | od -c

returned:
Code:
0000000   c   l   e   a   n   :  \n                   r   m       -   r
0000020   f       c   f   i   l   e   .   o   u   t  \n   b   u   i   l
0000040   d   :      \n                   g   c   c       -   g       -
0000060   W   a   l   l       -   p   e   d   a   n   t   i   c       -
0000100   W   e   x   t   r   a       c   f   i   l   e   .   c       -
0000120   w       -   o       c   f   i   l   e   .   o   u   t  \n   a
0000140   l   l   :       c   f   i   l   e   .   c  \n                
0000160   c   l   e   a   n       b   u   i   l   d  \n
0000174

What does this mean?

---------- Post updated at 11:48 AM ---------- Previous update was at 11:41 AM ----------

UPDATE: That was after copy and pasting the makefile code from this forum, when using the original code the output of that command was:
Code:
0000000   c   l   e   a   n   :  \n  \t   r   m       -   r   f       c
0000020   f   i   l   e   .   o   u   t  \n   b   u   i   l   d   :    
0000040  \n  \t   g   c   c       -   g       -   W   a   l   l       -
0000060   p   e   d   a   n   t   i   c       -   W   e   x   t   r   a
0000100       c   f   i   l   e   .   c       -   w       -   o       c
0000120   f   i   l   e   .   o   u   t  \n   a   l   l   :       c   f
0000140   i   l   e   .   c  \n  \t   c   l   e   a   n       b   u   i
0000160   l   d  \n
0000163

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

makefile sh script

Hello World ! ! ! I need libraries to use grib files. I only know the C language at the moment and I am working at the University under Red Hat 9.0. I downloaded the g2clib library (the best that I found) but I did not success to run the makefile. Here is the original file. I modified some... (4 Replies)
Discussion started by: Akeson Chihiro
4 Replies

2. Shell Programming and Scripting

embeding shell script in makefile

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

3. Shell Programming and Scripting

shell script in makefile

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

4. Shell Programming and Scripting

Shell script makefile

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

5. UNIX for Dummies Questions & Answers

error while running a makefile

any good website to know about makefiles (3 Replies)
Discussion started by: raviravula
3 Replies

6. UNIX for Advanced & Expert Users

Makefile problem - How to run module load in a Makefile

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. Homework & Coursework Questions

Help with Simple Multi-Level Makefile (Extremely New at Makefile)

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

8. Shell Programming and Scripting

using a Shell Script in a Makefile

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

Need help with a script to make makefile

How do we create a shell script that creates a makefile? what if we want to use the #include header files too? (2 Replies)
Discussion started by: sslokhan
2 Replies

10. Programming

Problem running a makefile

I have written this makefile and am getting an error saying make nfd gfortran -O -Wall -fbacktrace -fno-align-commons -c -o fd.o fd.f fd.f:49: Error: Can't open included file 'fd.par' make: *** Error 1 The directory structure is as follows . ├── library │ ├── fd │ │ ├──... (3 Replies)
Discussion started by: kristinu
3 Replies
Mojolicious::Command::generate::makefile(3pm)		User Contributed Perl Documentation	     Mojolicious::Command::generate::makefile(3pm)

NAME
Mojolicious::Command::generate::makefile - Makefile generator command SYNOPSIS
use Mojolicious::Command::generate::makefile; my $makefile = Mojolicious::Command::generate::makefile->new; $makefile->run(@ARGV); DESCRIPTION
Mojolicious::Command::generate::makefile generates "Makefile.PL" files for applications. ATTRIBUTES
Mojolicious::Command::generate::makefile inherits all attributes from Mojo::Command and implements the following new ones. "description" my $description = $makefile->description; $makefile = $makefile->description('Foo!'); Short description of this command, used for the command list. "usage" my $usage = $makefile->usage; $makefile = $makefile->usage('Foo!'); Usage information for this command, used for the help screen. METHODS
Mojolicious::Command::generate::makefile inherits all methods from Mojo::Command and implements the following new ones. "run" $makefile->run(@ARGV); Run this command. SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>. perl v5.14.2 2012-09-05 Mojolicious::Command::generate::makefile(3pm)
All times are GMT -4. The time now is 11:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy