|
|
1.1 root 1: # @(#)Makefile 4.2 (Berkeley) 11/22/82
2: #
3: AS=/bin/as
4: CC=/bin/cc
5: LCC=/bin/cc
6: LD=/bin/ld
7: INCLDIR=/usr/include
8: LIBDIR=/lib
9: ULIBDIR=/usr/lib
10: DESTDIR=
11: MAKEPARAM = AS=${AS} CC=${CC} LCC=${LCC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
12:
13: CFLAGS= -O -I${INCLDIR}
14:
15: # Programs that live in subdirectories, and have makefiles of their own.
16: #
17: #SUBDIR= libc c2 cpp pcc pt
18: SUBDIR= libc fc2 cpp fpcc pt
19:
20: all:
21: for i in ${SUBDIR}; do \
22: (cd $$i; make ${MFLAGS} ${MAKEPARAM} ); done
23:
24: fcc:
25: (cd fpcc; make ${MFLAGS} ${MAKEPARAM} clean; make ${MFLAGS} ${MAKEPARAM} )
26: (cd fc2; make ${MFLAGS} ${MAKEPARAM} clean ; make ${MFLAGS} ${MAKEPARAM} )
27:
28: install:
29: for i in ${SUBDIR}; do \
30: (cd $$i; make ${MFLAGS} ${MAKEPARAM} install); done
31:
32: clean:
33: rm -f a.out core *.s *.o
34: for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done
35:
36: cleansrc:
37:
38: rm -f Makefile
39: #End of Makefile
40:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.