Makefile 648 Bytes
Newer Older
1
.PHONY : all tidy clean
2 3 4 5
BINS=cov_eq.out cov_scal.out cov_tau.out cov_tau_ph.out Max_SAC.out ana.out #repack_latt.out
OBJS=cov_eq.o   cov_scal.o   cov_tau.o   cov_tau_ph.o   Max_SAC.o   ana.o 
OBJS1=Predefined_Latt_mod.o ana_mod.o
MODS=predefined_lattices.mod ana_mod.mod
6 7


8 9 10 11 12 13 14
all: $(BINS)

Predefined_Latt_mod.o: ../Prog/Predefined_Latt_mod.F90
			$(ALF_FC) -c -o $@ $(ALF_FLAGS_ANA) $<

cov_tau_ph.o: cov_tau.F90
	$(ALF_FC) -c -o $@ $(ALF_FLAGS_ANA) -DPartHole $<
15 16

%.o: %.F90
17
	$(ALF_FC) -c -o $@ $(ALF_FLAGS_ANA) $<
18

19 20
%.out: $(OBJS1) %.o
	$(ALF_FC) -o $@ $^ $(ALF_LIB)
21 22 23 24 25 26

tidy:
	rm -f $(OBJS) $(OBJS1) $(MODS) cov_tau_ph.F90

clean: tidy
	rm -f $(BINS)