Browse Source

second commit

mkilani 1 year ago
parent
commit
41d606c97f
1 changed files with 23 additions and 0 deletions
  1. 23 0
      Makefile

+ 23 - 0
Makefile

@@ -0,0 +1,23 @@
+# Project : input-output analysis tools
+#
+# Moez Kilani, Marsh 29th, 2012
+#
+CC = gfortran
+EXEC = rtes
+LDFLAGS = -llapack -lslatec 
+
+all: $(EXEC) 
+
+rtes: maintes.o input.o lq.o matcoef.o matinv.o regional.o quick_sort2.o
+	$(CC) -o $@ $^ $(LDFLAGS) 
+
+%.o: %.f
+	$(CC) -o $@ -c $<
+
+# Utility targets
+#
+.PHONY: clean 
+
+clean:
+	rm -f *.o 
+