File:  [CSRG BSD Unix] / 43BSD / contrib / mh / miscellany / patch / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:54 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

################################################################
#   Instructions to Make, for compilation of UIP processes
################################################################

OPTIONS	=	-DUCI -DBSD42
BINDIR	=	/usr/uci

CC      =	cc
CFLAGS  =	-O   $(OPTIONS)
LDFLAGS =	
LIBES   =


################################################################
# Here it is...
################################################################

all:		patch
inst-all:	inst-patch


################################################################
# patch
################################################################

inst-patch:	$(BINDIR)/patch

$(BINDIR)/patch:	xpatch
		-cp $@ zxpatch
		cp xpatch $@
		-@ls -l $@
		-@echo ""

patch:		xpatch

xpatch:		patch.o $(LIBES) 
		$(CC) $(LDFLAGS) -o $@ patch.o $(LIBES) 


################################################################
# clean
################################################################

clean:;		rm -f *.o x* z* _*

unix.superglobalmegacorp.com

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