ENOSIG Discussie (threads)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
.if defined in GNU and BSD make
Hi there,
While learning GNU make but at the same time using a tutorial that uses
BSD make, I stumble on the following error (in Dutch) when running make:
Makefile:5: *** ontbrekend scheidingsteken. Stop.
#start Makefile form BSD make tutorial
SUBDIR= dir1 dir2 dir3
all:
@echo "make all" in `pwd`
.if defined(SUBDIR) && !empty(SUBDIR)
@for subdir in ${SUBDIR}; do \
(cd $$subdir; ${MAKE} all); \
done
.endif
It seems that I should put some sort of seperation mark in line 5. I
can't find a solution in the GNU make manual; help would be appreciated.
Gegroet,
Ronald
<<signature.asc>>
Follow-ups:
- Re: .if defined in GNU and BSD make, Ronald van Engelen <ronalde@xxxxxxxxxxx>, 2004/01/15
- Re: .if defined in GNU and BSD make, Joost van Baal <joostvb@xxxxxxx>, 2004/01/14
- Re: .if defined in GNU and BSD make, Lionel Elie Mamane <lionel@xxxxxxxxx>, 2004/01/14
- Re: .if defined in GNU and BSD make, Jan Nieuwenhuizen <janneke@xxxxxxx>, 2004/01/14
- Re: .if defined in GNU and BSD make, Rudi Sluijtman <rudi@xxxxxxxxxxxxx>, 2004/01/14
[
Date Index]
[
Thread Index]