-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
26 lines (25 loc) · 857 Bytes
/
Makefile
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
#=======================================================================
# makefile
# $Id: Makefile,v 1.1.1.1 2020/08/05 00:00:00 seiji Exp seiji $
#=======================================================================
.SUFFIXES: .f .o
SHELL = /bin/sh
#-----------------------------------------------------------------------
FC = ftn
FFLAGS = -O3 -rm
LIBS =
#-----------------------------------------------------------------------
SRC = gcell.f
OBJ = $(subst .f,.o,$(SRC))
BIN = gcell
#-----------------------------------------------------------------------
.f.o:
$(FC) $(FFLAGS) -c -o $@ $<
#-----------------------------------------------------------------------
$(BIN): $(OBJ)
$(FC) $(FFLAGS) -o $@ $^ $(LIBS)
clean:
rm -f *.o *.lst core* *~
rm -f $(BIN)
#-----------------------------------------------------------------------
-include addon.mk