www.delorie.com/archives/browse.cgi | search |
> From: Monika Hendricks <monika DOT hendricks AT t-online DOT de> > Newsgroups: comp.os.msdos.djgpp > Date: 8 Aug 2003 11:42:15 GMT > > > Anyway, the problem seems to be that a line that is supposed to > > delete *.o files fails, right? > > I'm not sure. I would be happy if *.o files would be created. One possible problem might be that it does a "make clean" for some reason. I don't have the makefile in front of me, but it strikes me as something weird to do when building a library. > > Does it help to prepend a `-' character to > > the offending line in the Makefile? > > I put a `-' in front of "clean :" in makefile.dj2 and in > /src/makefile.dj2 (the first rule here deals with this "if exist del > bgi\*.o") with the following result: No, that's not what I meant. You need to prepend `-' to the _command_ that this rule runs, like this: clean: -if exist bgi\*.o del bgi\*.o
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |