1998-05-07 17:10:54 +00:00
|
|
|
--- Makefile.orig Mon Apr 13 18:09:54 1998
|
|
|
|
+++ Makefile Fri May 8 02:09:12 1998
|
|
|
|
@@ -1,14 +1,16 @@
|
1998-04-04 14:21:01 +00:00
|
|
|
CC = gcc
|
|
|
|
-CFLAGS =
|
1998-05-07 17:10:54 +00:00
|
|
|
+#CFLAGS =
|
1997-09-12 18:33:08 +00:00
|
|
|
|
1998-05-07 17:10:54 +00:00
|
|
|
#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
|
1997-09-12 18:33:08 +00:00
|
|
|
|
|
|
|
+all: newsfetch
|
|
|
|
+
|
|
|
|
newsfetch: $(objs)
|
|
|
|
$(CC) -o newsfetch $(objs)
|
|
|
|
- strip newsfetch
|
1998-05-07 17:10:54 +00:00
|
|
|
+# strip newsfetch
|
1997-09-12 18:33:08 +00:00
|
|
|
|
|
|
|
.c.o:
|
|
|
|
$(CC) -c $(CFLAGS) $<
|
1998-05-07 17:10:54 +00:00
|
|
|
@@ -17,5 +19,5 @@
|
1997-09-12 18:33:08 +00:00
|
|
|
rm -f *.o newsfetch
|
|
|
|
|
|
|
|
install:
|
|
|
|
- cp newsfetch /usr/local/bin
|
|
|
|
- cp newsfetch.1 /usr/man/man1
|
|
|
|
+ $(INSTALL_PROGRAM) newsfetch $(PREFIX)/bin
|
|
|
|
+ $(INSTALL_MAN) newsfetch.1 $(PREFIX)/man/man1
|