~jose-soler/siesta/unfolding

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
# 
# Copyright (C) 1996-2016	The SIESTA group
#  This file is distributed under the terms of the
#  GNU General Public License: see COPYING in the top directory
#  or http://www.gnu.org/copyleft/gpl.txt.
# See Docs/Contributors.txt for a list of contributors.
#
#
# Makefile for HSX utilities
#
.SUFFIXES: 
.SUFFIXES: .f .F .o .a  .f90 .F90
#
VPATH:=$(shell pwd)/../../Src
OBJDIR=Obj
#
all: hsx2hs hs2hsx
#
include ../../$(OBJDIR)/arch.make
#
# This is needed on some systems to avoid loading the parallel libraries, which
# sometimes force running on queuing systems
#
FC_DEFAULT:=$(FC)
FC_SERIAL?=$(FC_DEFAULT)
FC:=$(FC_SERIAL)         # Make it non-recursive
#
FFLAGS=$(FFLAGS_DEBUG)
#
#------------------
hsx2hs: hsx_m.o hsx2hs.o
	$(FC) $(LDFLAGS) -o $@ hsx_m.o  hsx2hs.o
#
hs2hsx: hsx_m.o hs2hsx.o
	$(FC) $(LDFLAGS) -o $@ hsx_m.o  hs2hsx.o
#
#------------------
clean: 
	rm -f *.o hsx2hs hs2hsx *.o *.*d
#