On Mon, Sep 28, 2009 at 12:34:49AM -0400, Jon Smirl wrote:
> I made two different makefiles with the two flags...
> ptxdist appears to be preventing me form compiling the same source
> file from two different makefiles:

You don't need the get stage but a special extract stage that
extracts the source into a different directory.

Something like this:

$(STATEDIR)/fftwf.extract:
        @$(call targetinfo)
        @$(call clean, $(FFTWF_DIR))
        @mkdir -p $(FFTWF_DIR)
        @cd $(FFTWF_DIR) && tar xf $(FFTW_SOURCE)
        @mv $(FFTWF_DIR)/*/* $(FFTWF_DIR)
        @$(call patchin, FFTWF)
        @$(call touch)

mfg,
Michael Olbrich

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

--
ptxdist mailing list
[email protected]

Reply via email to