File: Makefile

package info (click to toggle)
uudeview 0.5.20-12
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 2,504 kB
  • sloc: ansic: 12,144; sh: 2,754; makefile: 357; awk: 13
file content (44 lines) | stat: -rw-r--r-- 960 bytes parent folder | download | duplicates (12)
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
40
41
42
43
44
# Makefile for NN version of mini inews.
#
# $RCSfile: Makefile,v $	$Revision: 1.1.1.1 $
#
# $Author: fp $	$Date: 1996/06/06 19:41:07 $
#
# $State: Exp $	$Locker:  $
#
# $Log: Makefile,v $
# Revision 1.1.1.1  1996/06/06 19:41:07  fp
# UUDeview put under revision control
#
# Revision 1.3  89/12/21  17:59:52  news
# Added kit processing, cleanups.
#
# This makefile needs the definitions of NNTPSERVER, DOMAIN and HIDDENNET
# on the make command line. __FP__
#

TARGET	= minews

BINDIR	= .
SHELL	= /bin/sh

SRCS	= inews.c clientlib.c version.c
OBJS	= inews.o clientlib.o version.o
CFLAGS	= -DNNTPSERVER=\"$(NNTPSERVER)\" -DDOMAIN=\"$(DOMAIN)\" \
	  -DHIDDENNET=$(HIDDENNET)

$(TARGET): $(OBJS)
	$(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LIBS)

all:	$(TARGET)

clean:
	rm -f $(OBJS) core lint tags *~

clobber:	clean
	rm -f $(TARGET) Make.Log Manifest $(KIT)

install:	$(TARGET)
	../inst inews $(TARGET)
#	install -o news -g news -m 511 -s -c $(TARGET) $(BINDIR)