Roland Ver. 4.5 Technické informace Strana 158

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 212
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 211 212

Komentáře k této Příručce

Žádné komentáře