blob: 17a2049888fc4d4360e93282b247a64f1cf29f94 (
plain)
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
34
35
36
37
38
39
|
$NetBSD: patch-aa,v 1.3 2002/05/20 18:19:41 cjep Exp $
--- Makefile.orig Sat May 26 22:49:41 2001
+++ Makefile Sat Jan 19 05:48:48 2002
@@ -2,22 +2,22 @@
DESTDIR =
# where to install this program
-PREFIX = $(DESTDIR)/usr/X11R6
+# PREFIX = $(DESTDIR)/usr/X11R6
# no user serviceable parts below this line
# optimization cflags
-CFLAGS = -O3 -Wall `gtk-config --cflags` ${EXTRA}
+CFLAGS += -O3 -Wall `gtk-config --cflags` ${EXTRA}
# profiling cflags
# CFLAGS=-ansi -pedantic -Wall -pg -O3 `gtk-config --cflags` ${EXTRA} -DPRO
# test coverage cflags
# CFLAGS=-fprofile-arcs -ftest-coverage -Wall -ansi -pedantic -g `gtk-config --cflags` ${EXTRA} -DPRO
-CC = gcc
-SHELL = sh
+# CC = gcc
+# SHELL = sh
OBJS = fishmon.o
LIBS = `gtk-config --libs | sed "s/-lgtk//g"`
-INSTALL = -m 755
+# INSTALL = -m 755
all: wmfishtime
@@ -29,5 +29,5 @@
# You're going to have to be root to do this!
install:
- install $(INSTALL) wmfishtime $(PREFIX)/bin
- install $(INSTALL) wmfishtime.1 $(PREFIX)/man/man1
+ $(INSTALL_PROGRAM) wmfishtime $(PREFIX)/bin
+ $(INSTALL_MAN) wmfishtime.1 $(PREFIX)/man/man1
|