blob: 34a4778353360daa8fd833a0e9eb43d5761a3118 (
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
|
$NetBSD: patch-aq,v 1.2 2001/03/26 22:51:39 skrll Exp $
--- tools/clock/makefile.src.orig Fri Jun 7 16:56:38 1991
+++ tools/clock/makefile.src
@@ -1,12 +1,17 @@
# Makefile for rleClock
-default: install
+#set DEST TOOLS_DEST Where to install the tools
+DEST = ../../bin
-install: rleClock
- mv rleClock ../rleClock.out
+PGMS = rleClock.out
-rleClock:rleClock.o font.o
- ${CC} ${CFLAGS} rleClock.o font.o -lm ${LIBS} -o rleClock
+default: $(PGMS)
+
+install: $(PGMS) install-pgm
+ touch install
+
+rleClock.out:rleClock.o font.o
+ ${LIBTOOL} --mode=link ${CC} ${CFLAGS} rleClock.o font.o -o rleClock.out ../../lib/librle.la -lm
font.c:font.src makeFont
chmod +x makeFont
@@ -23,3 +28,5 @@
# Dependencies.
rleClock.o font.o:$(RI)/rle_config.h
+# Description file for rle tool programs.
+
|