Browse files

added Makefile

git-svn-id: svn://localhost/spinoptics/trunk@3 ac43315b-3e54-499a-a480-b11484f4b207
  • Loading branch information...
1 parent 19ae87b commit 8f052e2660ad1cf431cec244312fb07978896d2d mlenz committed Dec 1, 2008
Showing with 15 additions and 0 deletions.
  1. +15 −0 Makefile
View
15 Makefile
@@ -0,0 +1,15 @@
+CC=g77
+CFLAGS=-g -I/usr/include/ -O2 -Wuninitialized
+LDFLAGS=
+
+all: spin
+
+inv_general_complex_mat.o: Makefile inv_general_complex_mat.f
+ $(CC) -c $(CFLAGS) inv_general_complex_mat.f
+
+#spin_optics1.o:
+# $(CC) -c $(CFLAGS) spin_optics1.f.f
+
+spin: nano0903c.f inv_general_complex_mat.o Makefile
+ $(CC) $(CFLAGS) $(LDFLAGS) -o spin inv_general_complex_mat.o nano0903c.f DBL_COMBO_generatorjs1.f
+# $(CC) $(CFLAGS) $(LDFLAGS) -o spin inv_general_complex_mat.o nano0903c.f

0 comments on commit 8f052e2

Please sign in to comment.