File:  [Research Unix] / researchv10no / libcc / 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

OBJ=balloc.t getbitmap.t inbitmap.t outbitmap.t

ARCHIVE=libcc.a

%.t: %.c
	$(CC) $(CFLAGS) -c $%.c && touch $%.t

$(ARCHIVE):&	$(OBJ)
	ar r $(ARCHIVE) *.o
	ranlib $(ARCHIVE)
	rm *.o

install: $(ARCHIVE)
	cp $(ARCHIVE) /usr/lib
	touch install

ship: install
	ship /usr/lib/$(ARCHIVE)
	touch ship

Make:
	sed	-e "/^OBJ=.*/{s/.*/OBJ=`echo *.c`/" \
		-e 's/\.c/.t/g' \
		-e '}' Makefile >makefile
	mv makefile Makefile

unix.superglobalmegacorp.com

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