diff -u CalculiX/cgx_2.10/src.orig/Makefile CalculiX/cgx_2.10/src/Makefile
old
|
new
|
|
1 | | CFLAGS = -O3 -Wall \ |
| 1 | CFLAGS = \ |
2 | 2 | -I./ \ |
3 | 3 | -I/usr/include \ |
4 | 4 | -I/usr/include/GL \ |
… |
… |
|
7 | 7 | -I/usr/X11/include |
8 | 8 | |
9 | 9 | LFLAGS = \ |
10 | | -L/usr/lib64 -lGL -lGLU \ |
11 | | -L/usr/X11R6/lib64 -lX11 -lXi -lXmu -lXext -lXt -lSM -lICE \ |
12 | | -lm -lpthread -lrt |
| 10 | -L/usr/lib -lGL -lGLU \ |
| 11 | -lX11 -lXi -lXmu -lXext -lXt -lSM -lICE |
13 | 12 | |
14 | 13 | |
15 | 14 | # on 32bit systems change lib64 to lib |
… |
… |
|
66 | 65 | OUTIL = $(SUTIL:.c=.o) |
67 | 66 | |
68 | 67 | cgx: $(OLIB) $(OUTIL) $(OULIB) |
69 | | g++ $(OULIB) $(OLIB) $(OUTIL) $(CFLAGS) $(LFLAGS) -o $@ |
| 68 | $(CXX) $(OULIB) $(OLIB) $(OUTIL) $(CFLAGS) $(LFLAGS) -o $@ |
70 | 69 | |
71 | 70 | |
72 | 71 | |
diff -u CalculiX/cgx_2.10/src.orig/cgx.h CalculiX/cgx_2.10/src/cgx.h
old
|
new
|
|
79 | 79 | "/yaprod/cae/application/CalculiX/doc/ccx_2.10/ccx.html"} |
80 | 80 | #endif |
81 | 81 | #elif defined AFLIB |
82 | | #define HELPFILE {"/usr/local/CalculiX/cgx_2.10/doc/cgx/cgx.html",\ |
83 | | "/usr/local/CalculiX/ccx_2.10/doc/ccx/ccx.html",\ |
84 | | "/usr/local/CalculiX/cgx_2.10/doc/aflib/aflib.pdf"} |
| 82 | #define HELPFILE {"@@PREFIX@@/share/doc/CalculiX/cgx_2.10/doc/cgx/cgx.html",\ |
| 83 | "@@PREFIX@@/share/doc/CalculiX/ccx_2.10/doc/ccx/ccx.html",\ |
| 84 | "@@PREFIX@@/share/doc/CalculiX/cgx_2.10/doc/aflib/aflib.pdf"} |
85 | 85 | #else |
86 | | #define HELPFILE {"/usr/local/CalculiX/cgx_2.10/doc/cgx/cgx.html",\ |
87 | | "/usr/local/CalculiX/ccx_2.10/doc/ccx/ccx.html"} |
| 86 | #define HELPFILE {"@@PREFIX@@/share/doc/CalculiX/cgx_2.10/doc/cgx/cgx.html",\ |
| 87 | "@@PREFIX@@/share/doc/CalculiX/ccx_2.10/doc/ccx/ccx.html"} |
88 | 88 | #endif |
89 | 89 | |
90 | 90 | /* html browser, change if necessary */ |
… |
… |
|
95 | 95 | #else |
96 | 96 | /* #define BROWSER {"netscape"} */ |
97 | 97 | /* #define BROWSER {"mozilla"} */ |
98 | | #define BROWSER {"firefox"} |
| 98 | #define BROWSER {"openbrowser"} |
99 | 99 | /* #define PSVIEWER {"ghostview"} */ |
100 | | #define PSVIEWER {"gv"} |
| 100 | #define PSVIEWER {"open"} |
101 | 101 | #endif |
102 | 102 | |
103 | 103 | /* more parameters, better do not change them! */ |