Roland Ver. 4.5 Informacje Techniczne Strona 158

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 212
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 157
148 GNU make
We feel that it is cleaner for a rule without a recipe to always simply add to the
prerequisite list for the target. The above example can be easily rewritten to get the
desired behavior in GNU make:
.c.a: ;
Some versions of make invoke the shell with the -e flag, except under -k (see
Section 9.6 [Testing the Compilation of a Program], page 104). The -e flag tells
the shell to exit as soon as any program it runs returns a nonzero status. We feel it is
cleaner to write each line of the recipe to stand on its own and not require this special
treatment.
Przeglądanie stron 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 211 212

Komentarze do niniejszej Instrukcji

Brak uwag