File:  [Research Unix] / researchv10no / cmd / c2 / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

CFLAGS= -O -DCOPYCODE
FILES=c20.o c21.o c22.o

c2:	$(FILES)
	$(CC) $(LDFLAGS) -o c2 c2?.o

c20.o:	c20.c c2.h
c21.o:	c21.c c2.h
c22.o:  c22.c c2.h
	$(CC) $(CFLAGS) -cR c22.c

clean:
	rm -f $(FILES) c2

install:	c2
	strip c2
	cp c2 $(DESTDIR)/lib

test:
	rm -fr testdir
	mkdir testdir
	cp /lib/cpp /lib/ccom testdir
	make clean
	make c2
	cp c2 testdir/c2
	make clean
	make CFLAGS="${CFLAGS} -Btestdir/" c2
	cp c2 testdir/c2
	make clean
	make CFLAGS="${CFLAGS} -Btestdir/" c2
	strip c2 testdir/c2
	cmp c2 testdir/c2 && rm -fr c2 testdir

unix.superglobalmegacorp.com

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