Re: make question
Attila <acsosz@mail.datanet.hu> writes:
Attila> I've found this in a makefile. What does it mean?
Attila> clean:
Attila> rm -rf -f *~ \#*\# ;
The first line (starting on the first column, with the colon) declares
a target. So you can type 'make clean' at the command line, and the
commands below get run. The commands, in turn, are indented (the line
starts with a tab); in this case, running 'make clean' deletes
generally Emacs backup files (files named foo~, bar~, #baz#, #quux#,
and so forth). Don't know what the extra '-f' or the extra ';' are
doing there, though.
--
David Maze dmaze@mit.edu http://donut.mit.edu/dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
Reply to: