|
|
1.1 ! root 1: # Makefile for Bootable stand-alone examples ! 2: # ! 3: # La Monte H. Yarroll <[email protected]>, September 1991 ! 4: ! 5: DESTDIR=/ ! 6: ! 7: LIBS=../libtboot.a -lc ! 8: LD=ld ! 9: AR=ar ! 10: RANLIB=ranlib ! 11: INCLUDE=-I/usr/include/coff -I. -I.. ! 12: CFLAGS=$(INCLUDE) ! 13: ! 14: hello: hello.o ../libtboot.a ../Startup.o read16.o read_cmos.o ! 15: $(LD) -o hello ../Startup.o hello.o read16.o read_cmos.o $(LIBS) ! 16: ! 17: dir: dir.o ../libtboot.a ../Startup.o ! 18: $(LD) -o dir ../Startup.o $(OBJECTS) dir.o $(LIBS) ! 19: ! 20: newdir: newdir.o ../libtboot.a ../Startup.o ! 21: $(LD) -o newdir Startup.o newdir.o $(LIBS) ! 22: ! 23: ../libtboot.a: ! 24: (cd ..; make libtboot.a) ! 25: ! 26: ../Startup.o: ../Startup.s ! 27: (cd ..; make Startup.o) ! 28: ! 29: clean: ! 30: rm -f l.out *.o *.a ! 31: ! 32: install: ! 33: cp tboot $(DESTDIR) ! 34: chown root $(DESTDIR)/tboot ! 35: chgrp daemon $(DESTDIR)/tboot ! 36: chmod ugo=r $(DESTDIR)/tboot
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.