summaryrefslogtreecommitdiffstats
path: root/src/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index ca2a302..7f4f84c 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -50,4 +50,9 @@ H5Tinit.c: H5detect
H5detect: H5detect.o
$(CC) $(CFLAGS) -o $@ H5detect.o $(LDFLAGS) $(LIBS)
+# dynamic library with gcc. This needs more work to support other systems.
+shared: libhdf5.so.1.2.0
+libhdf5.so.1.2.0: $(LIB_OBJ)
+ $(CC) $(CFLAGS) -o $@ -shared -fPIC $^
+
@CONCLUDE@