blob: 262869ebeeffbb188141fe238dfb0aea25ce4851 (
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
|
$FreeBSD$
--- config.mk.orig Mon Sep 18 21:06:37 2000
+++ config.mk Sat Mar 2 19:21:24 2002
@@ -4,11 +4,11 @@
default: all
-CC := gcc
-CXX := g++
+CC ?= gcc
+CXX ?= g++
# (Add a -g for debugging)
-CPPFLAGS += -O2 -Wall
+CPPFLAGS += -Wall
# Add compile options, such as -I option to include jpeglib's headers
# CPPFLAGS += -I/home/fred/jpeglib
@@ -33,9 +33,10 @@
OS := -DLC_LINUX
OSDIR := linux
-PREFIX := /usr/local
+PREFIX := %%LOCALBASE%%
GTK_CONFIG := gtk12-config
-CPPFLAGS += -L/usr/local/lib
+CPPFLAGS += ${CFLAGS} -L%%LOCALBASE%%/lib -I%%LOCALBASE%%/include %%PTHREAD_CFLAGS%%
+LDFLAGS += -L%%LOCALBASE%%/lib %%PTHREAD_LIBS%%
endif
|