commit 230e92bf8f209a058369c3c2b0d59802d6ff1697
parent f0409fe23769c21aa950424745a95def9f22d1c3
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 28 Jul 2017 11:53:36 +0200
Make more precise the rm rules of the clear target
Diffstat:
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/Makefile b/src/Makefile
@@ -13,9 +13,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-NEXPERIMENTS=10000000
+NEXPERIMENTS=1000000
NPATHS=100
-SUN_DIRS=270,45:180,60
+SUN_DIRS=270,70:160,30
RCV=themis-rcv.yaml
INPUT=themis.yaml
@@ -27,6 +27,9 @@ SCRIPT = themis.c solpp.c solppraw.c solpaths.c
PROG = $(SCRIPT:%.c=%)
PATH := $(PATH):.
+.PHONY: default
+default: all
+
.PHONY: all
all: $(PROG)
@@ -56,7 +59,12 @@ run: paths simul
.PHONY: clean
clean:
- @rm -rf $(PROG) $(INPUT) $(GEOM) $(SIMUL) $(RCV) *.obj *.vtk *raw-results.txt
+ @rm -rf $(PROG) $(INPUT) $(GEOM) $(SIMUL) $(RCV) \
+ *-miscellaneous.obj \
+ *-paths.vtk \
+ *-primaries.vtk \
+ *-receivers.vtk \
+ *-raw-results.txt
$(PROG): %: %.c solpp.h
@echo -e " CC $<"; $(CC) -o $@ $(CFLAGS) $<