-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
51 lines (47 loc) · 1.99 KB
/
Makefile
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
40
41
42
43
44
45
46
47
48
49
50
51
##################################################################
##################################################################
# MAKEFILE for WABBIT-opt
##################################################################
##################################################################
all:
@echo -e "\n\n\n"
@echo -e "---------------------------"
@echo -e "compiling wabbit for you"
@echo -e "---------------------------"
@echo -e "\n\n\n"
cd ./LIB/WABBIT/ && $(MAKE) all
@echo -e "\n\n\n"
@echo -e "---------------------------"
@echo -e "finished compiling wabbit!"
@echo -e "---------------------------"
@echo -e "\n\n\n"
##################################################################
#================================================================
# Information about the makefile
#================================================================
info:
@echo -e "\n\n\n"
@echo -e "command \t \t info"
@echo -e "-------------------------------------------------------"
@echo -e "\e[1m make\e[0m \t\t \t generates all fortran binaries"
@echo -e "\e[1m make update-submodules\e[0m updates all git submodules"
@echo -e "-------------------------------------------------------"
@echo -e "\n\n\n"
.PHONY: doc test directories
#================================================================
# Update all git submodules
#================================================================
update-submodules:
git submodule foreach git pull origin master
#================================================================
# Install conda environment and activate it
#================================================================
conda-env:
conda env create -f LIB/environment.yml
##################################################################
# Remarks:
# 1. the @ forces make to execute the command without printing it
# first
# 2. to execute a make in another directory append the command using
# semicolon (;)
##################################################################