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

# first define the system type from V9, BSD42, SEQUENT, SYSV
SYSTEM=SYSV
# second add any special C flags (and -DCRAY and -g if on the cray)
CFLAGS=-I. -D$(SYSTEM)
# third, if you don't have a ranlib, set RANLIB=:
RANLIB=:	# ranlib on other systems
# now, to make everything just type make

mk:	nlib $(OBJ)
	$(CC) $(CFLAGS) -o mk $(OBJ) fio/fio.a libc/libc.a math/math.a
nlib:
	cd math; make CFLAGS="$(CFLAGS)" CC=$(CC) RANLIB=$(RANLIB)
	cd libc; make CFLAGS="$(CFLAGS)" CC=$(CC) RANLIB=$(RANLIB)
	cd fio; make CFLAGS="$(CFLAGS)" CC=$(CC) RANLIB=$(RANLIB)

clean:
	rm -f *.o mk nmk */*.[oa]

unix.superglobalmegacorp.com

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