Suggestion for "errexit" equivalent for $(shell ...)

2023-12-26 Thread paul d
Hi, This is my first posting to the GNU Make mailing lists, so please let me know if i've contravened any expectations. ## Background I am a somewhat heavy user of GNU Make, and frequently want to do something like the following: FILE_SHA = $(shell sha256sum src/file.c) deploy-frobnic

Re: Colons in targets/dependencies

2001-12-08 Thread Paul D. Smith
script: http_//foo.bar : $(GET) $(subst _,:,$@) or whatever (obviously _ is not a good choice but you get the idea). -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU ma

Re: Colons in targets/dependencies

2001-12-08 Thread Paul D. Smith
http//%: ... .PHONY: all all: $(GET:%=http//zork.net/%) maybe. -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain calm...I may be mad, but I am a professional.

Re: immediate/defered variables

2001-12-09 Thread Paul D. Smith
shell verbatim. The _only_ thing make expands are variables and functions. -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.pau

Re: immediate/defered variables

2001-12-09 Thread Paul D. Smith
variables. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain calm...I may be mad, but I am a profession

RE: immediate/defered variables

2001-12-10 Thread Paul D. Smith
t; actually used. No. kt> if this behaviour is intended, it is definitely worth stating in kt> the manual. Check the GNU make manual, section "How 'make' Reads a Makefile". -- ------- Paul D.

Re: per-target VPATH

2001-12-12 Thread Paul D. Smith
. In fact, in many build environments with more complex requirements than simple compile/link it's very difficult to do it without writing lots of specific rules. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find s

Re: per-target VPATH

2001-12-13 Thread Paul D. Smith
ve two distinct areas where the pathname might be different (the prefix and the .obj or whatever directory); if there was only one then you could do what you want without needing VPATH. BTW, that vpath field seems to be left in there by accident, it appeared in GNU make 3.77 but it's never been

Re: Debug File

2001-12-14 Thread Paul D. Smith
GNU make but they are not identical). Problems with the Cygnus version need to be addressed to the Cygnus folks. Thanks. -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: htt

Re: makefile:640: *** missing separator. Stop.

2001-12-16 Thread Paul D. Smith
Note that newer versions of GNU make don't care about line endings: they can be either traditional UNIX (LF) or DOS/Windows (CRLF). I'm not sure about Mac (CR)... -- ------- Paul D. Smith <[EMAIL PROTECTED]&g

Re: can gnu make do this?

2001-12-20 Thread Paul D. Smith
(OBJDIR)/bbb: b.o bb.o ... $(OBJDIR)/%: ... -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain calm...I may be mad, but I am a professional." --Mad Scien

Re: Target Specific Variable questions

2002-01-07 Thread Paul D. Smith
: jj> specialbuild: CCFLAGS += -show EXEC := specialbuild_forme jj> Either I have the wrong syntax, or you can't do this and need jj> multiple lines. Can someone let me know? You can't put multiple target-specific variable settings on one line, just like you can't put multiple no

Re: FW: Make problems

2002-01-11 Thread Paul D. Smith
sr/include/bits/errno.h:25: linux/errno.h: No such file or directory pm> make[1]: *** [fnmatch.o] Error 1 pm> make: *** [all-libiberty] Error 2 This looks like maybe you don't have your /usr/include/linux directory set up correctly. -- ----

Re: make problem with multiple character matching (%) operator

2002-01-11 Thread Paul D. Smith
hould first generate .b file, then .c file? That's not the problem. The problem is you're misusing VPATH. VPATH is designed to find _sources_. It cannot be used to find _targets_. It won't work to use it like that. -- ------

Re: make problem with multiple character matching (%) operator

2002-01-14 Thread Paul D. Smith
hat purpose. -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain calm...I may be mad, but I am a professional." --Mad Scientist ___

Re: Sun make makefile

2002-01-16 Thread Paul D. Smith
You should look at the section 'Incompatibilities and Missing Features' in the GNU make manual. One particular thing I see in a very quick browse is that $$@, etc. are not supported in GNU make. -- ------- Pau

Re: Escaping shell-context variables from make

2002-01-17 Thread Paul D. Smith
; wherever you want a "$" in your shell script. All other characters in a command script are passed to the shell verbatim. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.o

Re: (no subject)

2002-01-18 Thread Paul D. Smith
you try to override something about the configuration or the makefile? -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/

Re: error in configure

2002-01-19 Thread Paul D. Smith
ure script is almost certainly not the right answer. -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain

Re: question

2002-01-19 Thread Paul D. Smith
you can't use Makefile.in instead of Makefile. -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain

Re: (no subject)

2002-01-21 Thread Paul D. Smith
n config.log and see if you can figure out why it's choosing aCC as your archiver. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http:/

Re: Timestamp of symbolic links!

2002-01-21 Thread Paul D. Smith
oftware uses links to point to a shared cache. We are using Solaris. Not without changing the code. There is no configuration or runtime option to do this. However, the changes are pretty simple. -- ------- Paul D. Smith

Re: Sun makefile

2002-01-21 Thread Paul D. Smith
ual that I pointed you to previously, I think you can do this with static pattern rules: $(TPP0:%=%down) : %down : %.obj -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gn

Re: gmake error

2002-01-24 Thread Paul D. Smith
lt of using -k, since in that case some prerequisite could have failed to build a while ago, and make kept on going. -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:

Re: how to serialize rule evaluation

2002-01-24 Thread Paul D. Smith
part of the file. For example you can check the value of $(MAKECMDGOALS) to decide which section of the makefile should be visible to the current invocation of make. That's about the only suggestion I have. -- ------

Re: Embedded spaces in directory names

2002-01-28 Thread Paul D. Smith
scripts. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain calm...I may be mad, but I am a p

Re: how to serialize rule evaluation

2002-01-30 Thread Paul D. Smith
g the prerequisite restrictions in the makefile of course). -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ &qu

Re: testing if a file exists

2002-01-30 Thread Paul D. Smith
The fastest way to test if a file exists is with the wildcard function: ifeq ($(wildcard matrix.h),matrix.h) # exists else # doesn't exist endif -- --- Paul D. Smith <[EMAIL PROTECTED]>

Re: Help-make digest, Vol 1 #284 - 1 msg

2002-01-30 Thread Paul D. Smith
rtunately. I'm open to other ideas. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain calm...I ma

Re: included makefiles

2002-02-04 Thread Paul D. Smith
ssage. rj> Ideally, I'd like to add some logic to the template makefile that rj> I have control over so that I can intercept the target name, set rj> the variable and then include ../appmake.make. I don't quite understand what you're getting at here. -- --

Re: Commands with multiple output files

2002-02-06 Thread Paul D. Smith
ttern Rules_. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain calm...I may be mad, but I am a profess

Re: Commands with multiple output files

2002-02-06 Thread Paul D. Smith
%% Peter Eisentraut <[EMAIL PROTECTED]> writes: pe> Paul D. Smith writes: >> %% Peter Eisentraut <[EMAIL PROTECTED]> writes: >> pe> What is a good way to write rules that contain commands with multiple pe> output files? >> >> Use mult

Re: Installation

2002-02-12 Thread Paul D. Smith
l wherever you like. -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _

Re: one command for multiple pattern rules

2002-02-12 Thread Paul D. Smith
generate the rules by using GNU make's auto-re-exec feature. Other than that, you just have to write them all out by hand. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips

Re: $(@F) as dependecy

2002-02-12 Thread Paul D. Smith
to achive the behavior I need? Static pattern rules. But, you'll have to write one for each subdirectory. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org

Re: Query: Regarding gmake 3.79.1

2002-02-13 Thread Paul D. Smith
ave to give an example. -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain calm...I may be mad, but I am

Re: How can I call one target from another

2002-02-13 Thread Paul D. Smith
mething: .PHONY: do_something -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

Re: Installing gnu make

2002-02-17 Thread Paul D. Smith
more problems on Windows/DOS uses of make, you might try the [EMAIL PROTECTED] list. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org

Re: Speed of Make 3.79.1

2002-02-18 Thread Paul D. Smith
ch is where many of the Windows-knowledgeable GNU make users hang out. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ &q

Re: duplicated targets

2002-02-21 Thread Paul D. Smith
MEM) clean1: LIB = dir1/libymy.a clean1: MEM = obj.o clean1: ; $(REMOVE-FROM-LIB) clean2: LIB = dir2/libymy.a clean2: MEM = obj.o clean2: ; $(REMOVE-FROM-LIB) clean: clean1 clean2 -- --- Pau

Re: name of makefile

2002-02-22 Thread Paul D. Smith
gt; can it be retrieved. No. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain calm...I may be mad, bu

Re: Using wildcards

2002-02-22 Thread Paul D. Smith
u're using, (b) the OS and version you're running it on, and (c) a small _complete_ sample makefile that demonstrates the problem (i.e., what is the value of RC_DIR and RC_FILES?) Then I might be able to explain. -- ----

RE: Using wildcards

2002-02-22 Thread Paul D. Smith
en the result will be identical to the input (not the empty string). -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley

Re: Querry regarding running independent jobs parallely using GNU-MAKE utility.

2002-02-25 Thread Paul D. Smith
.ornl.gov/pvm/ http://www.crosswinds.net/~jlabrous/GNU/PVMGmake/ -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "

Re: Uninstall make

2002-02-25 Thread Paul D. Smith
mehow you configured make to install as /bin/sh, overwriting your shell! Ouch. That's very bad. You will need to go find a /bin/sh somewhere (on your backup disks or install disks or another system on the network) and copy it over /bin/sh on your system. -- ------

Re: details required on wildcard function

2002-02-25 Thread Paul D. Smith
/foodir make looks for path with the literal string '$ROOT/foodir', not whatever $ROOT expands to. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org

Re: duplicated targets

2002-02-26 Thread Paul D. Smith
ll be treated as if you'd written them out like above. You may run into a bug in GNU make 3.79.1 in this area (mishandling "@" chars), I'm not sure. -- --- Paul D. Smith <[EMAIL PROTECTED]>

Re: details required on wildcard function

2002-02-26 Thread Paul D. Smith
as you'd expect, and the echo command actually prints what you see: "/home/bhaster /usr /tmp". Try rewriting your command to avoid shell expansion and you will see what's happening: default: @echo '$(LISTROOT_FILENAME)' @echo '$(REQFILES)'

Re: fail to compile make

2002-02-27 Thread Paul D. Smith
mailing list. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain calm...I may be mad, but I am a profes

RE: can't get shell var to work in rule

2002-02-28 Thread Paul D. Smith
Note that this is not portable shell script syntax. If you want to do it portably you need: find $(TMPDIR) -name '*~' | (while read line; do rm "$$line"; done) -- --- Paul D. Smith <[EMAIL PROTECTED]&

Re: Passing -j (parallel processing) option to sub-makes

2002-03-01 Thread Paul D. Smith
SIX-like systems; there's a set of POSIX features that the configure script checks for to decide whether make can do this or not. Earlier versions of GNU make will run up to 10 jobs in the top-level make, but will invoke all submakes with, essentially, -j1. -- -------

Re: Got a SIGCHLD

2002-03-06 Thread Paul D. Smith
tracking" method described in a paper on my web page below. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/

Re: i need some smart rule

2002-03-06 Thread Paul D. Smith
def fbins $(fbins:%=$(bin)/%): ...build from .f files... endif or whatever. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain calm...I may be mad,

Re: Canonical method of rebuilding makefiles?

2002-03-07 Thread Paul D. Smith
iors please try them with vanilla GNU make first, and if it doesn't work there feel free to ask on these lists. If it does work there but not in clearmake -C gnu you should file a bug against clearmake :). -- --- Paul

Re: conditional parts

2002-03-11 Thread Paul D. Smith
,$(F))*" @case "$<" in $(findstring $<,$(F))) echo found; *) echo not found; esac -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org

Re: Help for installation of gnumake

2002-03-12 Thread Paul D. Smith
pile a C program (like GNU make) without a C compiler. Alternatively you can download prebuilt versions of the GNU C compiler from GCC (or even prebuilt versions of GNU make...); one place to get them is http://sunfreeware.com/ HTH. -- ----

Re: Problem with "?=" in gmake 3.76.1

2002-03-12 Thread Paul D. Smith
%% [EMAIL PROTECTED] writes: rp> I was trying to use a gmake feature I had not tried before, the ?= rp> assignment operator. This is a bug in 3.76.1, that has long since been fixed. -- --- Paul D. Smith &

Re: Multiple targets and make -j

2002-03-14 Thread Paul D. Smith
terms of a pattern rule, you can do this. See the GNU make manual, section _Introduction to Pattern Rules_. For example: %ini.c %0.c %1.c %2.c %3.c %coerce.h %d.h: %.p $(web2c_texmf) $(web2c) $* -- ---

Re: Gnumake problem...Pls advise

2002-03-17 Thread Paul D. Smith
one .exe. Also, note that if you have further questions or comments you will likely find an audience more knowledgeable about GNU make on Windows platforms on the [EMAIL PROTECTED] mailing list. HTH... -- ------

Re: Checking return code from Ant

2002-03-20 Thread Paul D. Smith
and how GNU make was built. -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain calm...I

Re: gmake -j

2002-03-20 Thread Paul D. Smith
ogram (compiler, etc.) that make uses to do its job is licensed and running multiple copies uses up too many licenses. Without seeing the actual message and the commands that preceded it there's little else I can say. -- ----

Re: Weird question

2002-03-21 Thread Paul D. Smith
include prereqs.mk prereqs.mk: Makefile @rm -f $@; \ for t in $(TARGETS); do \ echo "$$t : \$$($$t_OBJS) whatever.a" >> $@; \ done or whatever (the above is untested). -- ------- Pa

Re: help with $(filter ) in pattern rule prereq

2002-03-21 Thread Paul D. Smith
'make' Reads a Makefile" for more information on when expansion happens. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://w

Re: (no subject)

2002-03-29 Thread Paul D. Smith
s don't seem to show what the command builds the packet _from_), then this: foo.h foo.o: bar.h junk.h sth.h bar.o junk.o sth.o (with no command script). -- ------- Paul D. Smith <[EMAIL PROTECTED]>

Re: Advice on "clean:" rule for Win32 platform needed...

2002-03-29 Thread Paul D. Smith
D.COM. I believe that's what a large number of people using GNU make on Windows do. If you can't do that, I don't know what to tell you :). -- --- Paul D. Smith <[EMAIL PROTECTED]> Find so

Re: Size of shared library on AIX

2002-04-03 Thread Paul D. Smith
; option? See the ar(1) man page. HTH! -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain

Re: clarification of deferred function expansion

2002-04-04 Thread Paul D. Smith
w we use the shell's backtick commands to perform the echo, rather than having make do it which must happen before the command is invoked, and thus before ENV_VAR is set to 1. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org

RE: clarification of deferred function expansion

2002-04-04 Thread Paul D. Smith
and see if it can better detail how command scripts are expanded. Thx. -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ &

Re: (no subject)

2002-04-10 Thread Paul D. Smith
Not quite; make will still "check for the existence" of the files. But, yes, this method causes make to understand that a single invocation of the command script may update all the targets listed. -- ------- Pa

Re: Disambiguating # within commands

2002-04-12 Thread Paul D. Smith
ething I rely upon. Using backslash to escape the comment character is the official method. This is even required by the POSIX standard for make. If the docs don't make this clear, there's a bug there. -- --- Pau

Re: Java compilation: I don't like Ant

2002-04-17 Thread Paul D. Smith
ultiple targets, but not explicit rules. Doing the latter would require some new syntax, which is one reason I've not really made a serious run at this feature. -- --- Paul D. Smith <[EMAIL PROTECTED]>

Re: Confused by old-style SUFFIX and/or implicit rules

2002-04-17 Thread Paul D. Smith
a script. Not every target _has_ to have a script. -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain c

Re: sh.exe and make

2002-04-25 Thread Paul D. Smith
Hi; You might have better luck asking this question on the [EMAIL PROTECTED] list, which is specifically for issues with make on DOS and Windows platforms. Good luck! -- --- Paul D. Smith <[EMAIL PROTEC

Re: problem with double colon rules

2002-04-26 Thread Paul D. Smith
been fixed in the latest source for GNU make; it works for me: $ make aa touch aa $ make aa touch aa -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gn

Re: gnu make

2002-05-07 Thread Paul D. Smith
site of the lib target, so $(OBJ) resolves to the empty string. -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/

Re: gmake 3.79 compilation error

2002-05-13 Thread Paul D. Smith
I'm not sure this will work, but definitely try the latest version, 3.79.1. Please let me know if you still have problems. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tip

Re: New feature wish list

2002-05-20 Thread Paul D. Smith
or Windows-specific issues with GNU make. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain c

Re: recursive functions in a Makefile

2002-05-22 Thread Paul D. Smith
t to dc> prevent infinite loops. There has already been a fix made to the CVS source which allows the first argument to $(call ...) to expand recursively. No other functions or variables are allowed to recurse. -- ----

Re: recursive functions in a Makefile

2002-05-23 Thread Paul D. Smith
or very unusual circumstances. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain calm...I may be mad, b

Re: disappearing rule

2002-05-25 Thread Paul D. Smith
of GNU make are you using? What OS are you running it on? -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.

Re: Multiple pattern-specific variable assignments

2002-05-28 Thread Paul D. Smith
other.o: %.c $(CC_OTHER) $(CCTYPE) $(CFLAGS) -o $@ -c $< -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gma

Re: disappearing rule

2002-05-28 Thread Paul D. Smith
of that VPATH/vpath could be a factor here, because those variables aren't consulted until make wants to build targets, which is after make has completely read all the makefiles into its internal DB. -- ------- Paul

Re: Multiple pattern-specific variable assignments

2002-05-28 Thread Paul D. Smith
$< %-other.o: %.c $(CC_OTHER) $(CCTYPE) $(CFLAGS) -o $@ -c $< -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.

Re: Fw: building make

2002-06-05 Thread Paul D. Smith
U make needs a beta version of gettext; I'm hoping that the official gettext 0.11.3 will be out before too long. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu

Re: make compile error

2002-06-05 Thread Paul D. Smith
ped, GNU make does not need to rebuild those files as the targets are provided in the distribution with a newer timestamp than the prerequisites. If these files are being rebuilt it's because the timestamps on your files have been corrupted and make thinks that the prerequisites are newer than th

Re: includes

2002-06-05 Thread Paul D. Smith
there's no way we can give you any information on why your problem is. Check your makefile where you define the rule for building .o's and see what's wrong. -- --- Paul D. Smith <[EMAIL PROTECT

Re: Multiple targets via a single process (when using multiple jobs)

2002-06-05 Thread Paul D. Smith
ts construction would then create the fd> targets. Is there a more direct way? Not for targets which are unrelated via a pattern. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:

Re: Deriving dependency from target

2002-06-05 Thread Paul D. Smith
es it, and hundreds of thousands of makefiles already exist, of which a large fraction would not work if changes like this were made. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU

Re: Fw: building make

2002-06-05 Thread Paul D. Smith
e2. Unfortunately the latter is broken :( -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain calm...I may be mad, but I am a professional." --Mad Scientis

Re: Patch to improve BSD make compatibility

2002-06-09 Thread Paul D. Smith
as a variable for other things and this change would break that. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "P

Re: Extending make with guile

2002-06-09 Thread Paul D. Smith
extend make's capabilities in this respect; the release after that will perhaps address and embedded scripting language. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://

Re: (no subject)

2002-06-10 Thread Paul D. Smith
IL PROTECTED] to see if anyone there knows of a site. Barring that you'll have to build it yourself. HTH! -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org

Re: Makefile on AIX 4.3

2002-06-11 Thread Paul D. Smith
when that happens the system removes certain sensitive variables from the environment before invoking it. Change the permissions on your GNU make program to not be setgid any longer and it will work as you expect. -- ---

Re: How can make use ksh?

2002-06-11 Thread Paul D. Smith
ur makefiles. However, look up the SHELL make variable in the GNU make manual. -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paula

Re: GMAKE signal handling

2002-06-13 Thread Paul D. Smith
mc> before exiting. It's simple enough to do from within the code, but there's no way to do it from within a makefile. -- ------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:

Re: using MAKEFLAGS in compiling C code as a shared library for R

2002-06-13 Thread Paul D. Smith
The simplest solution is to use backslashes to quote the spaces: MAKEFLAGS='CC=gcc-3.0 PKG_CFLAGS=\ -Wall\ -pedantic' R CMD SHLIB rc.c -o rc.so will work (note the change to single quotes: if you must use double quotes you'll have to type two backslashes to get one--see the documen

Re: using MAKEFLAGS in compiling C code as a shared library for R

2002-06-13 Thread Paul D. Smith
%% Faheem Mitha <[EMAIL PROTECTED]> writes: fm> On Thu, 13 Jun 2002, Paul D. Smith wrote: >> The simplest solution is to use backslashes to quote the spaces: >> >> MAKEFLAGS='CC=gcc-3.0 PKG_CFLAGS=\ -Wall\ -pedantic' R CMD SHLIB rc.c -o rc.so &

Re: Variables

2002-06-14 Thread Paul D. Smith
%% Bill Rebey <[EMAIL PROTECTED]> writes: br> In makefiles, is there any difference between $(VAR) and ${VAR} when br> dereferencing variables? No, they're identical. -- --- Paul D. Smith

Re: awkward

2002-06-20 Thread Paul D. Smith
Look up the MAKECMDGOALS variable in the GNU make manual. HTH... -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesl

Re: setting a variable to be the result of severla shell commands...

2002-06-24 Thread Paul D. Smith
t;/dev/null`; case $$n in '') echo 1 ;; *) echo `expr $$n + 1` ;; esac}) REL := $(call build-ver,4) -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org

  1   2   3   4   5   6   7   8   9   10   >