[mpich-discuss] How to modify CFLAGS

zhouxu(NUDT) zhouxuzhu1985 at gmail.com
Sat Aug 20 23:26:46 CDT 2011


Hi,
   I notice that the CFLAGS in all Makefiles of mpich2 is already set to
" -O2 $(MPICH2_MAKE_CFLAGS)". I want to know if I can change the CFLAGS in
specified Makefile. For example, I want to compile source files in "pt2pt"
with additional "-g" option. How should I modify the corresponding
Makefile.sm.

Thanks.

-- 
zhouxu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20110821/ebc6dcbd/attachment.htm>


More information about the mpich-discuss mailing list