[cig-commits] commit: Make main by default and do a better job cleaning up with 'make clean'

Mercurial hg at geodynamics.org
Fri Feb 25 14:12:08 PST 2011


changeset:   1:ad3b678e0911
user:        Walter Landry <wlandry at caltech.edu>
date:        Wed Dec 29 16:06:16 2010 -0800
files:       Makefile
description:
Make main by default and do a better job cleaning up with 'make clean'


diff -r a9a8e9ffee9a -r ad3b678e0911 Makefile
--- a/Makefile	Wed Dec 29 16:03:48 2010 -0800
+++ b/Makefile	Wed Dec 29 16:06:16 2010 -0800
@@ -15,7 +15,7 @@ TESTTOOLS     = ../testtools
 TESTTOOLS     = ../testtools
 OBJECT        = ../AMR/SAMRAI-v3.1.0-beta-build
 
-default:      check
+default:      main
 
 include $(OBJECT)/config/Makefile.config
 
@@ -76,7 +76,7 @@ clean-check:
 	$(SAMCLEAN)
 
 clean:		clean-check
-	$(RM) main
+	$(RM) main *.f *.o
 
 redo:
 	$(RM) core main



More information about the CIG-COMMITS mailing list