blob: 2a170bfc9cbed8ed22eb534328362da8617dd8ad (
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
|
Index: src/Makefile.src
diff -u src/Makefile.src.orig src/Makefile.src
--- src/Makefile.src.orig Sun Jul 9 00:55:41 2000
+++ src/Makefile.src Mon Jul 10 20:04:52 2000
@@ -13,23 +13,22 @@
GTK_LIB = `$(GTK_CONFIG) --libs gthread`
IMLIB_LIB = `imlib-config --libs-gdk`
-FLAGS = -O2 -I.. $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GTOP_INCLUDE)
+CFLAGS += -I.. $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GTOP_INCLUDE) \
+ -DPREFIX=\"$(PREFIX)\"
LIBS = $(GTK_LIB) $(IMLIB_LIB) $(GTOP_LIBS) $(SYS_LIBS)
ifeq ($(debug),1)
- FLAGS += -g
+ CFLAGS += -g
endif
ifeq ($(enable_nls),1)
- FLAGS += -DENABLE_NLS -DLOCALEDIR=\"$(LOCALEDIR)\"
+ CFLAGS += -DENABLE_NLS -DLOCALEDIR=\"$(LOCALEDIR)\"
endif
ifeq ($(HAVE_GETADDRINFO),1)
- FLAGS += -DHAVE_GETADDRINFO
+ CFLAGS += -DHAVE_GETADDRINFO
endif
-
-CC = gcc -Wall $(FLAGS)
GNOME_PREFIX = `gnome-config --prefix`
|