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

Reply via email to