1998-04-04 14:21:01 +00:00
|
|
|
--- Makefile.orig Mon Mar 9 14:20:31 1998
|
|
|
|
+++ Makefile Sat Apr 4 21:36:42 1998
|
|
|
|
@@ -1,11 +1,11 @@
|
|
|
|
CC = gcc
|
|
|
|
-CFLAGS =
|
1997-09-12 18:33:08 +00:00
|
|
|
|
|
|
|
objs = main.o nntp.o net.o opt.o util.o
|
|
|
|
|
|
|
|
+all: newsfetch
|
|
|
|
+
|
|
|
|
newsfetch: $(objs)
|
|
|
|
$(CC) -o newsfetch $(objs)
|
|
|
|
- strip newsfetch
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
$(CC) -c $(CFLAGS) $<
|
1998-04-04 14:21:01 +00:00
|
|
|
@@ -14,5 +14,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
|