89b7d2a446
- Support CC/CFLAGS/PREIFX/LOCALBASE/X11BASE/MAKE/etc. properly PR: 19623 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
15 lines
386 B
Plaintext
15 lines
386 B
Plaintext
--- gtk-shell-src/Makefile.orig Fri Mar 19 16:38:47 1999
|
|
+++ gtk-shell-src/Makefile Mon Apr 5 17:08:12 1999
|
|
@@ -1,7 +1,8 @@
|
|
BIN_DIR =
|
|
-CFLAGS = `gtk-config --cflags` -O -I. -Wall
|
|
-LIBS = `gtk-config --libs`
|
|
-CC = gcc
|
|
+CFLAGS ?= -O2
|
|
+CFLAGS += `$(GTK_CONFIG) --cflags` -I.
|
|
+LIBS = `$(GTK_CONFIG) --libs`
|
|
+CC ?= gcc
|
|
|
|
all:
|
|
$(CC) $(CFLAGS) -o $(BIN_DIR)gtk-shell gtk-shell.c $(LIBS)
|