delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/29/10:50:16

Message-ID: <4D86D73001F73000@c2gate.tcom.co.uk>
Date: Wed, 29 Jan 1997 15:06:00 +0000
From: Robin Crampton <robinc AT bacg DOT com>
Sender: Robin Crampton <robinc AT bacg DOT com>
Organization: *
To: djgpp AT delorie DOT com (djgpp AT delorie DOT com)
Subject: RE: Make strangeness
MIME-Version: 1.0

>It works in the Makefiles with bash also.  That guy just had an old port   

>of bash.

Sorry Eli, my mail was up the spout for a few days so I missed your
words of wisdom.

So I have an old port of bash?  I only downloaded it the other day.
What gives?

BTW, that set-pipe-thru-less problem was due to Windows 95
selecting code page 850 instead of 437 (UK).
Works fine now, though I don't quite understand why
(I checked the scan codes before and after, stayed the same).

Also, the "hello there" makefile works fine (with the &&).  Hmmm.

Now the package builds, but only if I run the lib and source directory   
makefiles
stand-alone.  The top-level makefile gives me the following:

$ make
C:/DJGPP/BIN/make.exe all-recursive
make.exe[1]: Entering directory `c:/blackmix-1.0'
c:/djgpp/tmp/dj100000: c:/djgpp/tmp/dj100000: line 2: syntax error:   
unexpected e
nd of file
Abort!
make.exe: *** [all-recursive-am] Error 1
$

all-recursive-am looks like this:

all-recursive-am: $(CONFIG_HEADER)
    $(MAKE) all-recursive

and all-recursive looks like this:

all-recursive install-data-recursive install-exec-recursive \
installdirs-recursive install-recursive uninstall-recursive  \
check-recursive installcheck-recursive info-recursive dvi-recursive \
mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
    @for subdir in $(SUBDIRS); do target=`echo $@ | sed s/-recursive//`;   
echo "Making $$target in $$subdir"; (cd $$subdir; $(MAKE) $$target) ||   
case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; done; test -z   
"$$fail"

I also use 4DOS (as someone else suggested), but I want my
Linux and Win95 development environments to be as close as
possible.  

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019