21 lines
510 B
Text
21 lines
510 B
Text
$NetBSD: patch-aa,v 1.2 2001/10/31 16:30:52 damon Exp $
|
|
|
|
--- Makefile.orig Sat May 19 17:40:38 2001
|
|
+++ Makefile
|
|
@@ -1,13 +1,13 @@
|
|
# Modify INCLUDE to point to gkrellm.h (if it's not in /usr/local/include)
|
|
-INCLUDE =
|
|
+INCLUDE =${LOCALBASE}/include
|
|
|
|
CC = gcc
|
|
-CFLAGS = -Wall -O2 -fPIC -I$(INCLUDE) \
|
|
+CFLAGS += -fPIC -I$(INCLUDE) \
|
|
`gtk-config --cflags` `imlib-config --cflags-gdk`
|
|
LDFLAGS =
|
|
TARGET = gkrellmPing
|
|
|
|
-
|
|
+all: $(TARGET).so
|
|
|
|
$(TARGET).so: $(TARGET).o
|
|
$(CC) -shared -Wl $< -o $@
|