mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-01-08 20:33:36 +01:00
add shell scripts to compile populated files
This commit is contained in:
parent
6a2533be3b
commit
44f615857b
13
src/templates_front/build.sh
Normal file
13
src/templates_front/build.sh
Normal file
@ -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
|
||||
|
||||
|
18
src/templates_hdf5/build.sh
Normal file
18
src/templates_hdf5/build.sh
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user