1 (19.07.2010 22:36:31 отредактировано Helmik)

Простите, тревожу по пустяковому вопросу. В Makefile имеется такая строка:

clean:
    rm -f $(ODIR)/*.o *~ core $(INCDIR)/*~

кто-нибудь может расшифровать что она удаляет? ну, допустим, rm -f $(ODIR)/*.o - удаляет все файлы в папке ODIR, которые заканчиваются на .o. А как быть со второй половиной? Что делает символ "~"? Заранее спасибо.

2

Ха,  *~ - это всего-лишь файлы которые заканчиваются на ~ :lol:

Осталось узнать, что означает core

3

Нашел:

A core file is created when a program terminates unexpectedly, due to
a bug, or a violation of the operating system's or hardware's
protection mechanisms. The operating system kills the program and
creates a core file that programmers can use to figure out what went
wrong. It contains a detailed description of the state that the
program was in when it died.