Debian Codegraph @

update

raw
1 #!/bin/sh
2 # Update the function prototypes in proto.h by using the cproto utility.
3 # Run this whenever a new C function is added to the Mathomatic source code or
4 # whenever a function definition is changed.
5
6 cproto </dev/null >/dev/null || exit 1 # Test for existence of cproto utility.
7 echo '/* Complete list of global C function prototypes for Mathomatic. */' >cproto.h
8 echo '/* This file was created with the cproto utility by running the "./update" script. */' >>cproto.h
9 echo '/* This file is required to compile Mathomatic quietly with the -Wall compiler option. */' >>cproto.h
10 echo >>cproto.h
11 cproto -DUNIX -DDEBUG *.c >>cproto.h && mv cproto.h proto.h && echo proto.h recreated.