blob: 9696f1b917aad438e2a6ddb772c2caeb41b14b2d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
--- machdef.mk.orig 2017-08-05 16:54:37 UTC
+++ machdef.mk
@@ -27,21 +27,21 @@
#
# e93 will install its single executable "e93" in $PREFIX/bin
# and it will place a directory called "e93lib" in $PREFIX/lib
-PREFIX=/usr/local
+PREFIX?=/usr/local
# The following lines may need to be altered if the Tcl
# files are located elsewhere on your system:
-TCL_INCLUDE=-I/usr/include/tcl8.5
+TCL_INCLUDE=-I$(TCL_INCLUDEDIR)
TCL_LIB=-L/usr/lib/x86_64-linux-gnu
# uncomment and change if you want to link with specific versions of Tcl
-TCL_VERSION=8.5
+#TCL_VERSION=8.5
# The following lines may need to be altered if the X include and library
# files are located elsewhere on your system:
-X_INCLUDE=-I/usr/X11R6/include
-X_LIB=-L/usr/X11R6/lib
+X_INCLUDE=-I$(LOCALBASE)/include
+X_LIB=-L$(LOCALBASE)/lib
# if your system needs some extra libraries, add them here:
@@ -51,9 +51,9 @@ EXTRALIBS=-lm -ldl
#MACHINESPEC=-DSOLARIS
# set compiler to use
-CC=gcc
+CC?=gcc
# set some compiler options
-OPTIONS=-O2 -Wall -x c++ -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+OPTIONS=-Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
#OPTIONS = -Wall -O2 -x c++ -mcpu=21164a -Wa,-m21164a -g
|