|
|
1.1 ! root 1: # ! 2: # @(#)Makefile 1.1 86/02/03 SMI ! 3: # ! 4: CC = cc ! 5: MODE = -O ! 6: #MODE = -O -pg ! 7: #MODE = -g ! 8: CFLAGS = -DAS $(MODE) -fsoft -DEBUG ! 9: LDFLAGS = $(MODE) ! 10: ASH = as.h inst.h error.h oper.h ! 11: KRUD = inst.o instruction.o op.o ps.o stab.o scan.o rel.o sym.o sdi.o init.o error.o operand.o eaddr.o coprocessor.o ! 12: as: $(KRUD) ! 13: $(CC) $(LDFLAGS) $(KRUD) -o as ! 14: install: as ! 15: install -s as $(DESTDIR)/bin/as ! 16: instruction.o: instruction.c $(ASH) ! 17: op.o: op.c $(ASH) ! 18: ps.o: ps.c $(ASH) ! 19: stab.o: stab.c scan.h $(ASH) ! 20: scan.o: scan.c $(ASH) scan.h ! 21: rel.o: rel.c $(ASH) ! 22: sym.o: sym.c scan.h $(ASH) ! 23: sdi.o: sdi.c $(ASH) ! 24: init.o: init.c $(ASH) ! 25: eaddr.o: eaddr.c $(ASH) ! 26: coprocessor.o: coprocessor.c $(ASH) ! 27: operand.o: operand.c $(ASH) ! 28: $(CC) $(CFLAGS) -R -c operand.c ! 29: as_charac: Instructions awkprog ! 30: awk -f awkprog < Instructions >as_charac ! 31: inst.o: inst.c as_charac $(ASH) ! 32: $(CC) $(CFLAGS) -R -c inst.c ! 33: # $(CC) $(CFLAGS) -c inst.c ! 34: error.o: error.c $(ASH) ! 35: $(CC) $(CFLAGS) -R -c error.c ! 36: clean:; rm -f $(KRUD) errs as_charac
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.