cake
/
libg1m
Archived
1
0
Fork 0
This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
libg1m/tools/write-header-config

27 lines
800 B
Bash
Executable File

#!/bin/sh
#******************************************************************************#
# Arguments #
#******************************************************************************#
# Initialize the variables
gint=
no_file=
# Read the arguments
for arg ; do case "$arg" in
--gint) gint=y ;;
--no-file) no_file=y ;;
*) echo "'${arg}': Did not read." ;;
esac; done
#******************************************************************************#
# Write the file #
#******************************************************************************#
cat <<_EOF
#ifndef LIBG1M_CONFIG_H
# define LIBG1M_CONFIG_H
# --- no option yet! ---
#endif /* LIBG1M_CONFIG_H */
_EOF