timg_out and output folders are now made automatically - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 33e7c038e353ab19bc990b231b5af573737b06b3
(DIR) parent ede3f29203f93318355cd254be5204f7fe888bb6
(HTM) Author: Anders Damsgaard Christensen <adc@geo.au.dk>
Date: Fri, 9 Nov 2012 21:26:50 +0100
img_out and output folders are now made automatically
Diffstat:
M src/Makefile | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/src/Makefile b/src/Makefile
t@@ -69,7 +69,7 @@ LDFLAGS+=-lcutil_x86_64 -lcuda -lcudart
LDFLAGS+=-fopenmp
#all: $(CCFILES) $(CUFILES) $(EXECUTABLE) raytracer
-all: $(CCFILES) $(CUFILES) $(EXECUTABLE)
+all: $(CCFILES) $(CUFILES) $(EXECUTABLE) folders
#raytracer:
# $(MAKE) -C ../raytracer/
t@@ -95,6 +95,14 @@ sphere.o: sphere.cpp $(DEPS)
../sphere_status: sphere_status.cpp
$(CC) $(CCFLAGS) sphere_status.cpp -o ../sphere_status
+folders: ../output ../img_out
+
+../output:
+ mkdir $@
+
+../img_out:
+ mkdir $@
+
edit:
$(EDITOR) Makefile $(CCFILES) $(CUFILES) *.h *.cuh