diff --git a/src/templates_front/build.sh b/src/templates_front/build.sh new file mode 100644 index 0000000..62062dc --- /dev/null +++ b/src/templates_front/build.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +cat prefix_front.c > trexio.c +cat prefix_front.h > trexio.h +cat prefix_s_front.h > trexio_s.h + +cat populated/pop_*.c >> trexio.c +cat populated/pop_*.h >> trexio.h + +cat suffix_s_front.h >> trexio_s.h +cat suffix_front.h >> trexio.h + + diff --git a/src/templates_hdf5/build.sh b/src/templates_hdf5/build.sh new file mode 100644 index 0000000..213bdb3 --- /dev/null +++ b/src/templates_hdf5/build.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +cat prefix_hdf5.c > trexio_hdf5.c +cat prefix_hdf5.h > trexio_hdf5.h + +cat populated/pop_def_hdf5.c >> trexio_hdf5.c +cat populated/pop_struct_hdf5.h >> trexio_hdf5.h + +cat populated/pop_basic_hdf5.c >> trexio_hdf5.c +cat populated/pop_read_dset_hdf5.c >> trexio_hdf5.c +cat populated/pop_read_num_hdf5.c >> trexio_hdf5.c +cat populated/pop_write_dset_hdf5.c >> trexio_hdf5.c +cat populated/pop_write_num_hdf5.c >> trexio_hdf5.c +cat populated/pop_rw_num_hdf5.h >> trexio_hdf5.h +cat populated/pop_rw_dset_hdf5.h >> trexio_hdf5.h + +cat suffix_hdf5.h >> trexio_hdf5.h +