[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: one input producing multiple ouput

From: Eric Blake
Subject: Re: one input producing multiple ouput
Date: Mon, 19 Feb 2018 06:13:15 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

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

[Prev in Thread] Current Thread [Next in Thread]