modified Makefile for testing single peptide runs
[unres.git] / source / ga / Makefile
1
2 FC              := ifort
3 CFLAGS          := 
4
5 BUILD_DIR       := build
6 #matrix-1LE1-and-1LY2
7
8 CLUSTER         := matrix
9
10 # CLUSTER options:  matrix, piasek, galera
11
12 .PHONY: all checkdirs clean
13
14 all: checkdirs checktpl $(BUILD_DIR)/unresga
15
16 $(BUILD_DIR)/unresga:GA.f
17         $(FC) $(CFLAGS) GA.f -o $@
18
19
20 checkdirs: $(BUILD_DIR)
21
22
23 $(BUILD_DIR):
24         @mkdir -p $@
25
26
27 checktpl:
28         @echo "";echo "==] building $(CLUSTER) version [=="
29         @echo ""
30         @cp input-templates/*.pdb $(BUILD_DIR)
31         @cp input-templates/$(CLUSTER)/* $(BUILD_DIR)
32
33 clean:
34         @rm -rf $(BUILD_DIR)