makefile all und clean

Post Reply
Message
Author
Andi

makefile all und clean

#1 Post by Andi »

Was sind eine all und eine cleananweisung bei makefiles?? Danke fuer eure Hilfe!

sdu

Re: makefile all und clean

#2 Post by sdu »

Um das herauszufinden sollte man das makefile kennen; all und clean stehen dabei fuer sogenannte Regeln; clean koennt e dabei fuer das loeschen aller object Files (.o) stehen; dies ist zum Beispiel fuer ein Rebuild notwendig ...
Die Funktion einer Regel ist jedoch nut durch das Makefile bestimmt ...

mfg SDU

bakunin
Posts: 597
Joined: 16. Aug 1999 6:44
Location: Lorsch (Südhessen)
Contact:

Re: makefile all und clean

#3 Post by bakunin »

Hi!

Die einzige Definition davon, die ich kenne, ist aus den GCS:


`all'

Compile the entire program. This should be the default target. This target need not rebuild any documentation files; Info files should normally be included in the distribution, and DVI files should be made only when explicitly asked for.

By default, the Make rules should compile and link with `-g', so that executable programs have debugging symbols. Users who don't mind being helpless can strip the executables later if they wish.

`clean'

Delete all files from the current directory that are normally created by building the program. Don't delete the files that record the configuration. Also preserve files that could be made by building, but normally aren't because the distribution comes with them.

Delete `.dvi' files here if they are not part of the distribution.


Cheers,
GNU/Wolfgang

Post Reply