File:  [CSRG BSD Unix] / 43BSDTahoe / new / nntp / inews / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43tahoe
BSD 4.3tahoe

#
# Makefile for pseudo-inews
#

SRCS	=	inews.c uname.c ../common/clientlib.c ../common/version.c
OBJS	=	inews.o uname.o ../common/clientlib.o ../common/version.o
HFILES	=	../common/response_codes.h ../common/conf.h

CFLAGS	= -O

DESTDIR	= /usr/local

inews:  $(OBJS) $(HFILES)
	$(CC) $(CFLAGS) $(OBJS) -o inews

uname.o: ../common/conf.h

../common/clientlib.o:
	${CC} ${CFLAGS} -c ../common/clientlib.c
	mv clientlib.o ../common/clientlib.o

../common/version.o:
	${CC} ${CFLAGS} -c ../common/version.c
	mv version.o ../common/version.o

install: inews
	cp inews ${DESTDIR}/inews
	chmod 755 ${DESTDIR}/inews

clean:
	rm -f ${OBJS} inews

distrib: clean
	rm -f make.out
	rm -rf SCCS

lint:
	lint ${SRCS} ${HFILES}

tags:
	ctags $(CFILES) $(HFILES)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.