-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
36 lines (29 loc) · 776 Bytes
/
makefile
File metadata and controls
36 lines (29 loc) · 776 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
MAKE=make
SRC=src
BIN=bin
DATA=data
all:
$(MAKE) clean;
$(MAKE) COMP_TYPE=STD -C $(SRC);
mv $(SRC)/LibreGrowth $(BIN)/LibreGrowth;
clean:
rm -f $(BIN)/LibreGrowth;
rm -f $(DATA)/*;
mkdir -p $(BIN);
mkdir -p $(DATA);
$(MAKE) clean -C $(SRC);
run:
$(MAKE) clean;
$(MAKE) COMP_TYPE=STD -C $(SRC);
mv $(SRC)/LibreGrowth $(BIN)/LibreGrowth;
ulimit -s unlimited; cd ./$(DATA); time ../$(BIN)/LibreGrowth > log.dat;
run-omp:
$(MAKE) clean;
$(MAKE) COMP_TYPE=OMP -C $(SRC);
mv $(SRC)/LibreGrowth $(BIN)/LibreGrowth;
export OMP_NUM_THREADS=8; ulimit -s unlimited; cd ./$(DATA); time ../$(BIN)/LibreGrowth > log.dat;
run-dbg:
$(MAKE) clean;
$(MAKE) COMP_TYPE=DBG -C $(SRC);
mv $(SRC)/LibreGrowth $(BIN)/LibreGrowth;
cd ./$(DATA); ddd ../$(BIN)/LibreGrowth;