More things related to DVI
[TeXnicard.git] / compile
blobc1429361e2aee1b7ac2574a80eabae997c019853
1 #!/bin/bash
2 # Type -g to compile with debug
3 cweave texnicard;tex texnicard
4 [ $# -eq 2 ] || ctangle texnicard
5 echo ------
6 [ $# -eq 2 ] || gcc -std=gnu89 -Winline -Wundef -Wfloat-equal \
7 -Wunused-function -Wno-long-long -Wno-parentheses \
8 -Werror=strict-prototypes -Wno-unused-value \
9 $1 `(exit $#)&&echo -s -O2 -fwhole-program -Wuninitialized` \
10 -o texnicard texnicard.c