|
|
1.1 root 1: # first define the system type from V9, BSD42, SEQUENT, SYSV
2: SYSTEM=SYSV
3: # second add any special C flags (and -DCRAY and -g if on the cray)
4: CFLAGS=-I. -D$(SYSTEM)
5: # third, if you don't have a ranlib, set RANLIB=:
6: RANLIB=: # ranlib on other systems
7: # now, to make everything just type make
8:
9: mk: nlib $(OBJ)
10: $(CC) $(CFLAGS) -o mk $(OBJ) fio/fio.a libc/libc.a math/math.a
11: nlib:
12: cd math; make CFLAGS="$(CFLAGS)" CC=$(CC) RANLIB=$(RANLIB)
13: cd libc; make CFLAGS="$(CFLAGS)" CC=$(CC) RANLIB=$(RANLIB)
14: cd fio; make CFLAGS="$(CFLAGS)" CC=$(CC) RANLIB=$(RANLIB)
15:
16: clean:
17: rm -f *.o mk nmk */*.[oa]
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.