diff options
author | Julius Rakow <julius@familie-rakow.de> | 2017-09-29 00:55:50 +0200 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2017-09-30 05:03:56 +0200 |
commit | 7336b7727a4440e549df15f94ff18b856a4fb9fa (patch) | |
tree | daf82933012472dc03709d76e25055e0d7e4c1e5 /doc/Invoking_GHDL.rst | |
parent | bd6d9abad8619e348fdf8fa53c0f62211ab161f6 (diff) | |
download | ghdl-7336b7727a4440e549df15f94ff18b856a4fb9fa.tar.gz ghdl-7336b7727a4440e549df15f94ff18b856a4fb9fa.tar.bz2 ghdl-7336b7727a4440e549df15f94ff18b856a4fb9fa.zip |
add gen-depends command
Extend gen-makefile command.
Omit phony targets and rules to allow integration in other makefiles.
Diffstat (limited to 'doc/Invoking_GHDL.rst')
-rw-r--r-- | doc/Invoking_GHDL.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/Invoking_GHDL.rst b/doc/Invoking_GHDL.rst index b435f292e..f1f1c2e59 100644 --- a/doc/Invoking_GHDL.rst +++ b/doc/Invoking_GHDL.rst @@ -730,6 +730,20 @@ Generate a Makefile to build a design unit:: This command works like the make command (see :ref:`Make_command`), but only a makefile is generated on the standard output. +Generate dependency file command +------------------------- + +.. index:: --gen-depends command + +Generate a Makefile containing only dependencies to build a design unit:: + + ghdl --gen-depends [options] primary [secondary] + + +This command works like the make and gen-makefile commands (see :ref:`Make_command`), +but instead of a full makefile only dependencies without rules are generated on the standard output. +Theses rules can then be integrated in another Makefile. + Library commands ================ |