%% Ed Hartnett <[EMAIL PROTECTED]> writes: eh> SUBDIRS = man
eh> if BUILD_F77 eh> SUBDIRS += fortran eh> endif eh> SUBDIRS += libsrc nc_test ncgen ncdump nctest eh> # If we're building the f77 API, test it too. eh> if BUILD_F77 eh> SUBDIRS += nf_test eh> endif There's a much better way to do this. Try: if BUILD_F77 PRE_SDIRS = fortran POST_SDIRS = nf_test endif SUBDIRS = man $(PRE_SDIRS) nc_test ncgen ncdump nctest $(POST_SDIRS) Cheers! -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> HASMAT--HA Software Mthds & Tools "Please remain calm...I may be mad, but I am a professional." --Mad Scientist ------------------------------------------------------------------------------- These are my opinions---Nortel Networks takes no responsibility for them.