Date: Fri, 2 Apr 1999 09:54:54 +0200 (MET DST) From: Gisle Vanem To: djgpp AT delorie DOT com Subject: Empty commands in make 3.77 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com I've discovered what I regard as a rather serious bug in make 3.77. By accident I forgot to put "include makefile.cfg" in my makefile before these rules: all: libvgagl.a libvgagl.a: $(OBJECTS) ar rcs libvgagl.a $(OBJECTS) $(CP) $@ $(DJDIR)/lib $(CP) expands to `' causing `libvgagl.a e:/djgpp/lib' to be executed. `CP = cp.exe' was in `makefile.cfg'. This "shell command" resulted in crash inside DOS (seg 273h) and some lost clusters. No serious harm done (chkdsk fixed it). What is make trying to do here? And how on earth can an archive be executed like this? Gisle V.