blob: c714582115f595c104792d9ef9aac4b9e6006379 (
plain)
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
|
--- ./togl/Makefile.orig Wed Jan 28 16:28:33 2004
+++ ./togl/Makefile Sun Nov 21 18:37:12 2004
@@ -57,33 +57,33 @@
# Initial revision
#
-
+include ../libsrc/makefile.mach.$(MACHINE)
# Makefile for Togl demos
# You'll probably have to tinker with these macros:
# The C compiler:
-CC = cc
+CC = $(CPLUSPLUS)
# Compiler options:
-COPTS = -c -O
+COPTS = -c $(CXXFLAGS)
# Shared library linker command:
-SHLINK = cc -G
+SHLINK = $(LINK) -shared
# Name for the shared lib:
#SH_LIB = libtogl.so.1.3
SH_LIB =
# Where to find tcl.h, tk.h, OpenGL/Mesa headers, etc:
-INCLUDES = -I/usr/local/include -I/usr/include/tcl -I/usr/freeware/include
+INCLUDES = -I$(LOCALBASE)/include $(CPLUSPLUSFLAGS3)
# Where to find libtcl.a, libtk.a, OpenGL/Mesa libraries:
-LIBDIRS = -L/usr/local/lib
+LIBDIRS = $(LINKFLAGS2)
# Libraries to link with (-ldl for Linux only?):
-LIBS = -ltk -ltcl -lGLU -lGL -L/usr/X11/lib -L/usr/freeware/lib32 -lX11 -lXmu -lXext -lXt -lm -ldl
+LIBS = $(tcltklib) -lGLU -lGL -lX11 -lXmu -lXext -lXt -lm
TK_FLAGS =
|