Salome HOME
updated copyright message
[tools/yacsgen.git] / Examples / fort1 / Makefile
index 702a9e970da9447a637ed64d2a5883dc325d5393..31756625778fc025cf389e992a003007ab9b59f3 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright (C) 2009-2013  EDF R&D
+# Copyright (C) 2009-2023  EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
 #
 # This library is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -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