Date: Wed, 17 Sep 1997 20:32:06 +0300 (IDT) From: Eli Zaretskii To: Cesar Scarpini Rabak cc: djgpp AT delorie DOT com Subject: Re: make 3.75 ported to DJGPP not handling correctly comments In-Reply-To: <1.5.4.32.19970917150341.00693d1c@dce03.ipt.br> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 17 Sep 1997, Cesar Scarpini Rabak wrote: > The comment character is not being handled correctly when it appears in a > rule of a makefile. > > foo: foo.o > $(CC) $(LDOPT) -o $@ $^ # this comment breaks DJGPP make This is not a bug in Make. `#' is a character special to Unix shells, so Make on Unix calls the shell when it sees such a character, and the shell also treats this as a comment. If you set SHELL = bash.exe on MSDOS, it will also work.