tech-toolchain archive

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

Re: HAVE_PCC=yes



On Thu, 21 Jan 2010, Iain Hibbert wrote:
> I fixed it here by changing the Makefile.in to read
> 
> install:
>       cd cc && ${MAKE} install && cd ..
>       cd cpp && ${MAKE} install && cd ..
>       cd ccom && ${MAKE} install && cd ..

I think the usual way of handling this sort of thing is with subshells,
and I prefer that solution to anything involving "make -B"  or "cd ..".
Like this:

install:
        ( cd cc && ${MAKE} install )
        ( cd cpp && ${MAKE} install )
        ( cd ccom && ${MAKE} install )

--apb (Alan Barrett)



Home | Main Index | Thread Index | Old Index