|
![]() ![]() ![]() ![]() ![]() |
doolin$ mmo -c Makefile doolin$ ls Hallo.od Hallo.om Makefile doolin$ make oc -c -u Hallo.od Hallo.om oc -o Hallo \ Hallo.o doolin$ Hallo Hallo, wie geht es? doolin$ make realclean rm -f Hallo.sy Hallo.r Hallo.o *.ts core rm -f Hallo doolin$ ls Hallo.od Hallo.om Makefile doolin$ |
![]() | make ist ein Werkzeug, das gewünschte Dateien
entsprechend eines Abhängigkeitsgraphen und eines Regelwerkes
mit minimalem Aufwand baut. Voraussetzung dafür ist ein
sogenanntes Makefile, das die Abhängigkeiten beschreibt.
|
![]() | Für Oberon kann ein Makefile mit mmo
(make makefile for Oberon) automatisch erzeugt werden.
|
![]() | Danach genügt ein Aufruf von make, um das
ausführbare Programm zu erzeugen.
|
![]() | Mit make realclean können alle generierbaren
Dateien wieder gelöscht werden.
|
![]() ![]() ![]() ![]() ![]() |
Copyright © 2004, 2005 Andreas Borchert, in HTML konvertiert am 18.02.2005 |