File: compile.secure

package info (click to toggle)
mathomatic 14.0.6-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,108 kB
  • ctags: 659
  • sloc: ansic: 16,067; makefile: 160; python: 77; sh: 74
file content (6 lines) | stat: -rwxr-xr-x 339 bytes parent folder | download
1
2
3
4
5
6
#!/bin/sh
# Shell script for creating the executable "mathomatic_secure".
# The result can safely be used as a telnet app or CGI program.

cc -O -DREADLINE -DVERSION=\"`cat VERSION`\" -DSECURE -DTIMEOUT_SECONDS=3600 *.c -lm -lreadline -lncurses -o mathomatic_secure && echo mathomatic_secure created.
make clean # for any subsequent makes