blob: c55c8e64731b3c8860f9dbc45708dd1cc612d734 (
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
|
--- Makefile.orig 2002-04-05 05:56:05.000000000 +0200
+++ Makefile 2013-11-05 16:39:16.000000000 +0100
@@ -6,7 +6,7 @@
PREFIX = /usr/local/
# What compiler should be used
-CC = gcc
+CC?= gcc
# Where to find the gtk-config script
GTK_DIR =
@@ -20,9 +20,9 @@ GTK_DIR =
# add -DUSE_GNOME if you want to make grpn GNOME compliant.
-CFLAGS = -g -O2 -I/usr/X11/include `$(GTK_DIR)gtk-config --cflags` -DGTK_VER_1_1
+CFLAGS+= -I${LOCALBASE}/include -I${PREFIX}/include `${GTK_CONFIG} --cflags` -DGTK_VER_1_1
-DFLAGS = -L/usr/X11/lib
+DFLAGS = -L${LOCALBASE}/lib -L${PREFIX}/lib
# end of user configurable section
@@ -37,7 +37,7 @@ OBJS = test_gtk_ver.o real.o complex.o m
-LIBS = `$(GTK_DIR)gtk-config --libs` -lX11 -lm
+LIBS = `${GTK_CONFIG} --libs` -lX11 -lm
grpn: $(OBJS)
|