# Makefile for the Siesta interface.
# Victor M. Garcia-Suarez, January 2014.
FC = f95
FLAGS = -O2 -g

%.o: %.f90
	$(FC) -c $(FLAGS) $<

OBJS = hsx_m.o siesta2gollum.o

all:	$(OBJS)
	$(FC) -o siesta2gollum $(OBJS)

clean:
	rm -f *.o *.mod siesta2gollum

siesta2gollum.o: hsx_m.o
