mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
89b7d2a446
- Support CC/CFLAGS/PREIFX/LOCALBASE/X11BASE/MAKE/etc. properly PR: 19623 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
14 lines
359 B
Plaintext
14 lines
359 B
Plaintext
--- Makefile.orig Fri Feb 12 16:22:22 1999
|
|
+++ Makefile Sat Jul 1 18:31:53 2000
|
|
@@ -1,6 +1,7 @@
|
|
-CC=gcc
|
|
-CFLAGS=-Wall -O -DUSE_GUI `gtk-config --cflags` -DVERSION=\"0.1\"
|
|
-LIBS=`gtk-config --libs`
|
|
+CC?=gcc
|
|
+CFLAGS?=-O
|
|
+CFLAGS+=-DUSE_GUI `$(GTK_CONFIG) --cflags` -DVERSION=\"0.1\"
|
|
+LIBS=`$(GTK_CONFIG) --libs`
|
|
|
|
all:
|
|
$(CC) $(CFLAGS) -o ggsd ggsd.c $(LIBS)
|