File: Makefile

package info (click to toggle)
espresso 6.7-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 311,068 kB
  • sloc: f90: 447,429; ansic: 52,566; sh: 40,631; xml: 37,561; tcl: 20,077; lisp: 5,923; makefile: 4,503; python: 4,379; perl: 1,219; cpp: 761; fortran: 618; java: 568; awk: 128
file content (34 lines) | stat: -rw-r--r-- 456 bytes parent folder | download | duplicates (6)
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
.SUFFIXES: .f90 .o

include ./make.inc

kpoints_x = k_for_bands.x
bands_x   = bands_to_gnuplot.x
Eminmax_x = E_min_max.x

OBJ1 =	K_for_bands.o

OBJ2 =	Bands_to_gnuplot.o

OBJ3 =	E_min_max.o

all:	Kpts  E_bands  Plot

Kpts:	$(OBJ1)
	$(LD) -o $(kpoints_x) $(OBJ1)  

E_bands:$(OBJ2)
	$(LD) -o $(bands_x) $(OBJ2)   

Plot:	$(OBJ3)
	$(LD) -o $(Eminmax_x) $(OBJ3)   


.f90.o : 
	$(FC) $(FFLAGS) -c  $<

clean:
	rm -f *.o         

clean_all: clean
	\rm -f *.x