|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1987 Regents of the University of California. ! 3: # All rights reserved. The Berkeley software License Agreement ! 4: # specifies the terms and conditions for redistribution. ! 5: # ! 6: # @(#)Makefile 4.6 (Berkeley) 6/6/87 ! 7: # ! 8: CFLAGS= -DCOPYCODE -DC2 -O ! 9: ASDIR= ../../../bin/as/as.${MACHINE} ! 10: SRCS= c20.c c21.c c22.c ! 11: OBJS= c20.o c21.o c22.o ! 12: ! 13: all: c2 ! 14: ! 15: c2: ${OBJS} ${LIBC} ! 16: ${CC} -o $@ ${OBJS} ! 17: ! 18: c22.o: c22.c c2.h instrs.c2 ! 19: ${CC} ${CFLAGS} -R -c c22.c ! 20: ! 21: instrs.c2: ${ASDIR}/instrs ! 22: (echo FLAVOR C2 ; cat ${ASDIR}/instrs) | awk -f ${ASDIR}/instrs > instrs.c2 ! 23: ! 24: clean: ! 25: rm -f *.o *.s c2 ! 26: ! 27: install: ! 28: install -o bin -g bin -m 755 -s c2 ${DESTDIR}/lib/c2 ! 29: ! 30: tags: ! 31: ctags ${SRCS} ! 32: ! 33: depend: ! 34: mkdep ${CFLAGS} ${SRCS} ! 35: ! 36: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 37: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 38: ! 39: c20.o: c20.c ! 40: c20.o:c2.h ! 41: c20.o: /usr/include/stdio.h /usr/include/ctype.h /usr/include/sys/types.h ! 42: c21.o: c21.c ! 43: c21.o:c2.h ! 44: c21.o: /usr/include/stdio.h /usr/include/ctype.h ! 45: c22.o: c22.c ! 46: c22.o:c2.h ! 47: c22.o:./instrs.c2 ! 48: ! 49: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.