blob: 227d245f1510b5f52c6e22e9fe534b5fdc441d1d (
plain) (
blame)
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
|
--- Makefile.orig Mon Apr 13 18:09:54 1998
+++ Makefile Fri Jan 26 23:44:25 2001
@@ -1,14 +1,16 @@
-CC = gcc
-CFLAGS =
+#CC = gcc
+#CFLAGS =
#Uncomment this if you do not want status meter
#CFLAGS = -DNO_STATUS_METER
objs = newsfetch.o nntp.o net.o opt.o util.o getopt.o
+all: newsfetch
+
newsfetch: $(objs)
$(CC) -o newsfetch $(objs)
- strip newsfetch
+# strip newsfetch
.c.o:
$(CC) -c $(CFLAGS) $<
@@ -17,5 +19,5 @@
rm -f *.o newsfetch
install:
- cp newsfetch /usr/local/bin
- cp newsfetch.1 /usr/man/man1
+ ${BSD_INSTALL_PROGRAM} newsfetch ${PREFIX}/bin
+ ${BSD_INSTALL_MAN} newsfetch.1 ${PREFIX}/man/man1
|