Re: one input producing multiple ouput
Eric Blake <[email protected]> Mon, 19 Feb 2018 06:13:15 -0600
| Newsgroups | gmane.comp.gnu.m4.general |
|---|---|
| Organization | Red Hat, Inc. |
| Message-ID | <[email protected]> |
On 02/18/2018 11:44 PM, Jack Andrews wrote: > i need to produce multiple files from one input file. > i have a single source file (xyz) from which i want to produce a xyz.h > header file, a xyz.c source file and a xyz.k source file - all based on the > one input file, xyz. > is the answer to do this in multiple passes with different sets of macros? Yes, producing multiple output files is done by running m4 multiple times. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org