aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSriReddy-NOAA <Srinivas.Reddy@noaa.gov>2021-04-08 23:54:52 -0400
committerSriReddy-NOAA <Srinivas.Reddy@noaa.gov>2021-04-08 23:54:52 -0400
commitb786a276da4462adef111c2c356abeb27f63a5d3 (patch)
treedbb132a5c2f4b0e449b5b5762fa7f2a11e8902a9 /Makefile
parentf472c8909c3bc22df5d4bb818d8b60c421e7e3d0 (diff)
Version 3.2.5
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..63bbf05
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,30 @@
+RM = rm -f
+
+CC = CC
+FC = f90
+
+CFLAGS = -C
+INCLUDES =
+LIBS =
+.SUFFIXES : .o .f
+# rule to create .o files from .f files
+.f.o:
+ $(RM) $*.o
+ $(FC) -c $(CFLAGS) $(INCLUDES) $*.f
+
+# rule to create executables from .o files
+.o:
+ $(RM) $@
+ $(FC) $(CFLAGS) $(INCLUDES) -o $@ $< $(LIBS)
+
+all: htdp
+
+htdp.o: htdp.f
+initvl.o: initvl.f
+initeq.o: initeq.f
+initbd.o: initbd.f
+initps.o: initps.f
+
+htdp: htdp.o initvl.o initeq.o initbd.o initps.o
+ $(FC) $(CFLAGS) $(INCLUDES) -o $@ $? $(LIBS)
+