-
Notifications
You must be signed in to change notification settings - Fork 0
/
paths.sh
56 lines (45 loc) · 1.06 KB
/
paths.sh
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Dunedin
# APT:
# TCL_INCLUDE = -I /usr/include/tcl8.6
# TCL_LIB = # -L /usr/lib/x86_64-linux-gnu
# PIC = -fPIC
# # Felix:
# TCL = ${HOME}/sfw/tcl-8.6.6
# TCL_INCLUDE = -I $(TCL)/include
# TCL_LIB = -L $(TCL)/lib
# PIC = -fPIC
# Felix:
#TCL = ${HOME}/sfw/tcl-8.6.6
#TCL_INCLUDE = -I $(TCL)/include
#TCL_LIB = -L $(TCL)/lib
#PIC = -fPIC
# # MCS:
# TCL = ${HOME}/sfw/tcl-8.6.1
# TCL_INCLUDE = -I $(TCL)/include
# TCL_LIB = -L $(TCL)/lib
# PIC = -fPIC
# Helix (Cygwin):
TCL = /usr
TCL_INCLUDE = -I $(TCL)/include
TCL_LIB = -L $(TCL)/lib
RPATH = -Wl,-rpath -Wl,$(TCL)/lib
PIC =
# # Theta
# TCL = ${HOME}/Public/sfw/theta/tcl-8.6.1
# $(warning THETA $(TCL))
# TCL_INCLUDE = -I $(TCL)/include
# TCL_LIB = -L $(TCL)/lib
# PIC = -fPIC
# # Summit
# TCL = ${HOME}/Public/sfw/summit/tcl-8.6.6
# TCL_INCLUDE = -I $(TCL)/include
# TCL_LIB = -L $(TCL)/lib
# RPATH = -Wl,-rpath -Wl,$(TCL)/lib
# PIC = -fPIC
# PIC = -fPIC
# PIC =
CC = gcc
CPPFLAGS = -I . $(TCL_INCLUDE)
CFLAGS = $(PIC)
LDFLAGS = -l readline $(TCL_LIB) -l tcl8.6
# gcc -shared -o $(@) $(^) -L $(TCL_LIB) -l tcl -l readline