03-09-2010
I'l look in to the possibility of using a
for expansion in my Makefile, always nice to be able to solve thinks in more then on way
Thanks for pointing out the special characters, I didn't run in to that problem, but this is an other good reason to avoid special characters in filenames.
10 More Discussions You Might Find Interesting
1. Solaris
Hi,
I am getting the following error while building on Solaris 64 , while I am trying to build.
Error Snippet :-
----------------------
Makefile:57: *** multiple target patterns. Stop.
make: Leaving directory `/work1/patch/vds6053sun64o/vobs/jvi'
make: *** Error 2
make: Leaving directory... (0 Replies)
Discussion started by: nileshborate
0 Replies
2. 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
3. Programming
Greetings!
Basically, I would like to properly handle this with gnu make:
alltools: my_tool mysecond_tool mythird_tool etc_tool
%_tool: dir1/%_tool.vf dir2/%_tool/subdir2/%_tool.ver
<tab>@echo done
%.vf:
<tab>RUN_VF $*
%.ver:
<tab>RUN_VER $*
So, if I were to do something like:... (0 Replies)
Discussion started by: Harlinator
0 Replies
4. Shell Programming and Scripting
Hi All
I am creating a makefile and I want to do a clean section.
In the clean section I would like to check if the file exists and then delete it.
I always have an error 'unexpected end of file'
What's wrong in it?
Thanks
msntn
firstCpp: first.cpp
g++ -o first first.cpp
clean:
... (1 Reply)
Discussion started by: manustone
1 Replies
5. UNIX for Dummies Questions & Answers
guys I would like to have more commands (as epstopdf) as this e.g. jpgtogif etc. how can I install them? where I need to have a look on it... I use MacOSX (1 Reply)
Discussion started by: c_lady
1 Replies
6. UNIX for Advanced & Expert Users
Hi!
I've got a build process where scripts create multiple targets from their sources. But here I'm running into a conceptual problem of GNU make: If one has multiple targets in a dependency, make applies the rules once for every target that is out of sync - which is correct for normal... (3 Replies)
Discussion started by: treczoks
3 Replies
7. 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
8. Programming
I have the following part of a makefile and want to simplify it
using rules rather than having to code the same two blocks
when I need ti build another program.
An having difficulty doing it
all: 1dvel2 1dvel 2dvel
... (8 Replies)
Discussion started by: kristinu
8 Replies
9. Shell Programming and Scripting
I am trying to create executables for the following files
Currently, I am making 9 different directories for for each. I would like to make 1 directory but everytime I try it does not work.
CROSS_COMPILE?=
# CROSS_COMPILE used to = arm-arago-linux-gnueabi... (1 Reply)
Discussion started by: bpetersen
1 Replies
10. Shell Programming and Scripting
CROSS_COMPILE?=
LIBDIR_APP_LOADER?=../../../../app_loader/lib
INCDIR_APP_LOADER?=../../../../app_loader/include
BINDIR?=../../bin
CFLAGS+= -Wall -I$(INCDIR_APP_LOADER) -D__DEBUG -O2 -mtune=cortex-a8 -march=armv7-a -std=gnu99
LDFLAGS+=-L$(LIBDIR_APP_LOADER) -lprussdrv -lpthread
OBJDIR=obj... (1 Reply)
Discussion started by: bpetersen
1 Replies
LEARN ABOUT CENTOS
labelit_hsfs
labelit_hsfs(1M) System Administration Commands labelit_hsfs(1M)
NAME
labelit_hsfs - provide and print labels for hsfs file systems
SYNOPSIS
/usr/sbin/labelit -F hsfs [generic_options] [-o specific_options] special
DESCRIPTION
labelit can be used to provide labels for unmounted CD-ROM images (CD-ROMs may not be labeled, as they are read-only media).
generic_options are options supported by the generic labelit command.
If no specific_options are specified, labelit prints the current value of all label fields.
The special name should be the physical disk section (for example, /dev/dsk/c0d0s6).
OPTIONS
-o Use one or more of the following name=value pairs separated by commas (with no intervening spaces) to specify values for specific
label fields. According to the ISO 9660 specification, only certain sets of characters may be used to fill in these labels. Thus,
``d-characters'' below refers to the characters `A' through `Z', the digits `0' through `9', and the `_' (underscore) character.
``a-characters'' below refers to `A' through `Z', `0' through `9', space, and the following characters: !"%&'()*+,-./:;<=>?_.
absfile= Abstract file identifier, d-characters, 37 characters maximum.
applid= Application identifier, d-characters, 128 characters maximum.
bibfile= Bibliographic file identifier, d-characters, 37 characters maximum.
copyfile= Copyright file identifier, d-characters, 128 maximum.
prepid= Data preparer identifier, d-characters, 128 maximum.
pubid= Publisher identifier, d-characters, 128 maximum.
sysid= System identifier, a-characters, 32 maximum.
volid= Volume identifier, d-characters, 32 maximum.
volsetid= Volume set identifier, d-characters, 128 maximum.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
labelit(1M), volcopy(1M), attributes(5)
SunOS 5.10 20 Mar 1992 labelit_hsfs(1M)