From 595b6ff7a6b2ae4da962fb30b3d87283a604f459 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 24 Jun 2002 16:52:32 -0500 Subject: [svn-r5691] Purpose: Bug Fix Description: The 'make' in the examples directory was using the "h5cc" script, but was also trying to make things the old-fashioned way (with libtool). This was causing problems on machines...there'd be conflicts and such, since h5cc doesn't use libtool... Solution: Stopped it from using libtool in the first place by having the compilation rule go directly from the .c file to the executable. Platforms tested: Linux --- examples/Makefile.in | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/examples/Makefile.in b/examples/Makefile.in index f4f6da8..40206ad 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -39,40 +39,40 @@ EXAMPLE_PROGS=$(TEST_SRC) ## How to build the programs... they all depend on the hdf5 library $(TEST_PROGS) $(TEST_PROGS_PARA): $(LIBHDF5) -h5_chunk_read: h5_chunk_read.lo - @$(CC) $(CPPFLAGS) -o $@ h5_chunk_read.lo +h5_chunk_read: h5_chunk_read.c + @$(CC) $(CPPFLAGS) -o $@ h5_chunk_read.c -h5_compound: h5_compound.lo - @$(CC) $(CPPFLAGS) -o $@ h5_compound.lo +h5_compound: h5_compound.c + @$(CC) $(CPPFLAGS) -o $@ h5_compound.c -h5_extend_write: h5_extend_write.lo - @$(CC) $(CPPFLAGS) -o $@ h5_extend_write.lo +h5_extend_write: h5_extend_write.c + @$(CC) $(CPPFLAGS) -o $@ h5_extend_write.c -h5_group: h5_group.lo - @$(CC) $(CPPFLAGS) -o $@ h5_group.lo +h5_group: h5_group.c + @$(CC) $(CPPFLAGS) -o $@ h5_group.c -h5_write: h5_write.lo - @$(CC) $(CPPFLAGS) -o $@ h5_write.lo +h5_write: h5_write.c + @$(CC) $(CPPFLAGS) -o $@ h5_write.c -h5_read: h5_read.lo - @$(CC) $(CPPFLAGS) -o $@ h5_read.lo +h5_read: h5_read.c + @$(CC) $(CPPFLAGS) -o $@ h5_read.c -h5_select: h5_select.lo - @$(CC) $(CPPFLAGS) -o $@ h5_select.lo +h5_select: h5_select.c + @$(CC) $(CPPFLAGS) -o $@ h5_select.c -h5_attribute: h5_attribute.lo - @$(CC) $(CPPFLAGS) -o $@ h5_attribute.lo +h5_attribute: h5_attribute.c + @$(CC) $(CPPFLAGS) -o $@ h5_attribute.c -h5_mount: h5_mount.lo - @$(CC) $(CPPFLAGS) -o $@ h5_mount.lo +h5_mount: h5_mount.c + @$(CC) $(CPPFLAGS) -o $@ h5_mount.c -h5_reference: h5_reference.lo - @$(CC) $(CPPFLAGS) -o $@ h5_reference.lo +h5_reference: h5_reference.c + @$(CC) $(CPPFLAGS) -o $@ h5_reference.c -h5_drivers: h5_drivers.lo - @$(CC) $(CPPFLAGS) -o $@ h5_drivers.lo +h5_drivers: h5_drivers.c + @$(CC) $(CPPFLAGS) -o $@ h5_drivers.c -ph5example: ph5example.lo - @$(CC) $(CPPFLAGS) -o $@ $@.lo +ph5example: ph5example.c + @$(CC) $(CPPFLAGS) -o $@ $@.c @CONCLUDE@ -- cgit v0.12