diff --git a/configure.ac b/configure.ac index a7d833f..e3fc599 100644 --- a/configure.ac +++ b/configure.ac @@ -389,7 +389,7 @@ AC_ARG_ENABLE([tools], if test "X$USE_TOOLS" = "Xyes"; then - BUILD_TOOLS="h5pAttrib h5pToGNUplot" + BUILD_TOOLS="h5pAttrib h5pToGNUplot homdynToH5p" fi ############################################################################### diff --git a/tools/Makefile.am b/tools/Makefile.am index 0bbd06d..18e69ca 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -33,7 +33,7 @@ H5PINC = -I@H5P_LIB_LOC@ bin_PROGRAMS = @BUILD_TOOLS@ # Listing of all programs that maybe built. (Has to know statically...) -EXTRA_PROGRAMS = h5pAttrib h5pToGNUplot +EXTRA_PROGRAMS = h5pAttrib h5pToGNUplot homdynToH5p # Extra files that I wish to include in the dist tar ball. EXTRA_DIST = h5pAttrib.cc h5pToGNUplot.cc## TO BE TAILORED LATER... @@ -43,6 +43,8 @@ h5pAttrib_SOURCES = h5pAttrib.cc h5pToGNUplot_SOURCES = h5pToGNUplot.cc +homdynToH5p_SOURCES = homdynToH5p.cc + # Specific building instruction (What compilers to use...) # ------------ Build Tools ------------ @@ -57,7 +59,14 @@ h5pToGNUplot: h5pToGNUplot.o $(TOOLS_CXX) -o h5pToGNUplot h5pToGNUplot.o $(H5PLIB) $(LIBS) h5pToGNUplot.o: h5pToGNUplot.cc - $(TOOLS_CXX) $(CFLAGS) $(INC) -g -c h5pToGNUplot.cc + $(TOOLS_CXX) $(CFLAGS) $(INC) -g -c $< + +homdynToH5p : homdynToH5p.o + $(TOOLS_CXX) -o $@ $< $(H5PLIB) $(LIBS) + +homdynToH5p.o: homdynToH5p.cc + $(TOOLS_CXX) $(CFLAGS) $(INC) -g -c $< + clean: rm -f *~ *.o h5pAttrib h5pToGNUplot