-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (32 loc) · 722 Bytes
/
Makefile
File metadata and controls
39 lines (32 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
include ./Makefile.cfg
DIR_ENTRY = main
SUBDIRS = $(DIR_MAIN)/$(DIR_ENTRY)
all: $(SUBDIRS)
for subdir in $(SUBDIRS); do (cd $${subdir}; $(MAKE) $@); done
run:
ifeq ($(PARALLEL), 1)
qsub run.sh -q opt.q
else
./$(EXE_NAME)
endif
clean:
for subdir in $(SUBDIRS); do (cd $${subdir}; $(MAKE) $@); done
$(RM) *~
$(RM) traj.*
cleanall: clean
for subdir in $(SUBDIRS); do (cd $${subdir}; $(MAKE) $@); done
$(RM) $(EXE_NAME)
$(RM) dat/*.dat
$(RM) LOG
$(RM) ana/dat/*~
$(RM) ana/plot/*~
$(RM) ana/plot/*.pyc
$(RM) ana/proc/app
$(RM) doc/*~
commit: cleanall
$(RM) ana/dat/*.dat
$(RM) ana/dat/*~
$(RM) ana/rank.info
git add .
git commit -a -m "Enhancement of the analysis module."
git push origin master