respect CC/CFLAGS; notified by naddy@

This commit is contained in:
mark 2002-10-28 22:34:35 +00:00
parent 4e9cc3c9f4
commit d022915444
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,14 @@
--- Makefile.in~ Mon Oct 28 14:22:51 2002
+++ Makefile.in Mon Oct 28 14:23:10 2002
@@ -7,9 +7,9 @@
prefix=@prefix@
exec_prefix = @exec_prefix@
VERSION = $(shell cat VERSION)
-CC = gcc
+CC = @CC@
PLUGIN-INSTALL = @libdir@/crank/plugins
-CFLAGS = -O2 -Wall @GTK_CFLAGS@ -DPLUGIN_DIR=\"$(PLUGIN-INSTALL)\"
+CFLAGS += -Wall @GTK_CFLAGS@ -DPLUGIN_DIR=\"$(PLUGIN-INSTALL)\"
LIBS = @GTK_LIBS@
OBJFILES = $(patsubst %.c,%.o,$(wildcard *.c))
PLUGIN-INSTALL = @libdir@/crank/plugins

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-plugin_src_Makefile_in,v 1.1 2002/10/28 22:34:35 mark Exp $
--- plugin-src/Makefile.in~ Mon Oct 28 14:28:44 2002
+++ plugin-src/Makefile.in Mon Oct 28 14:28:57 2002
@@ -8,8 +8,8 @@ prefix=@prefix@
CRANK_DIR = ..
INSTALL_DIR = ..
DATA_DIR = @datadir@/crank
-CC = gcc
-CFLAGS = -O2 -Wall -fPIC @GTK_CFLAGS@ -I$(CRANK_DIR) -DDATA_DIR=\"$(DATA_DIR)\"
+CC = @CC@
+CFLAGS += -Wall -fPIC @GTK_CFLAGS@ -I$(CRANK_DIR) -DDATA_DIR=\"$(DATA_DIR)\"
all: monoalphabetic.key-controls.so \
statistics.n-grams.so \