Re: Makefile Problems
Guylhem Aznar (ciguylhem@barberouge.linux.lmm.com)
Fri, 31 Jul 1998 16:49:44 +0200
On Thu, Jul 30, 1998 at 03:27:24PM -0400, Erik Bailey wrote:
> I followed your directions, and encountered the same error related to
> the /modules/Zharf line. I removed it (from the Imake file) also, and
> now I'm getting this wierd formatting error when I go to "make
> Makefiles"
>
> make: Fatal error in reader: Makefile, line 316: Unmatched `)' on line
I'm sorry but top level Imakefile is clean !
Maybe is there a sunos guru to help ?
> I immediately checked out line 316 of the Makefile, and I found that
> error. However, I don't know what the proper syntax should be... here
> is the original line:
>
> all::
> @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
> for i in $(SUBDIRS) ;\
> do \
> (cd $$i ; echo "making" all "in $(CURRENT_DIR)/$$i..."; \
> $(MAKE) $(MFLAGS) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' all); \
^
Try to remove this one
> done
Here's my section :
all::
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \
for i in $(SUBDIRS) ;\
do \
echo "making" all "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) -C $$i $(MFLAGS) $(PARALLELMFLAGS) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' all; \
done
> It's plain to see where the mismatched parenthesis is, but I don't know
> what it should be paired up with.
I like Imakefiles because they avoid you 99% of such problems.
> Thanks!
--
"Always pass on good advice. It is never any use to oneself" -- Oscar Wilde
Enlever rrremovethis / Remove rrremovethis
Salut / Best regards, Guylhem AZNAR <guylhem@rrremovethis.oeil.qc.ca>
--
WWW: http://www.afterstep.org/
FTP: ftp://ftp.afterstep.org/
MAIL: http://www.caldera.com/linuxcenter/forums/afterstep.html