Salome HOME
Copyright update 2022
[tools/yacsgen.git] / Examples / fort1 / Makefile
index f1408377e789b1aee4b3ae03f6aabb2d39af559e..fa7f52127b542dc4553d24a59fb5e3afbe095d22 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2009-2014  EDF R&D
+# Copyright (C) 2009-2022  EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -24,10 +24,13 @@ libcode1.so:code1.o
          $(FC) -shared -fPIC -o libcode1.so code1.o
 code1.o:code1.f
          $(FC) -c code1.f -fPIC -I$(KERNEL_ROOT_DIR)/include/salome -fexceptions
-libcode2.so:code2.o
-         $(FC) -shared -fPIC -o libcode2.so code2.o
+libcode2.so:code2.o bidul.o
+         $(FC) -shared -fPIC -o libcode2.so code2.o bidul.o
 code2.o:code2.f
          $(FC) -c code2.f -fPIC -I$(KERNEL_ROOT_DIR)/include/salome -fexceptions
 
+bidul.o:bidul.f
+         $(FC) -c bidul.f -fPIC -I$(KERNEL_ROOT_DIR)/include/salome -fexceptions
+
 clean:
-       rm -rf *.o *.so fcompos_SRC  install fcompos_SRC.bak traceExec_proc appli appli.bak install.bak
+       rm -rf *.o *.so fcompos_*  install appli traceExec_proc *.bak *.err *.log