File:  [MW Coherent from dump] / coherent / d / conf / old_tboot / Examples / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:37 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

# Makefile for Bootable stand-alone examples
#
# La Monte H. Yarroll <[email protected]>, September 1991

DESTDIR=/

LIBS=../libtboot.a -lc
LD=ld
AR=ar
RANLIB=ranlib
INCLUDE=-I/usr/include/coff -I. -I..
CFLAGS=$(INCLUDE)

hello: hello.o  ../libtboot.a ../Startup.o read16.o read_cmos.o
	$(LD) -o hello ../Startup.o hello.o read16.o read_cmos.o $(LIBS)

dir: dir.o ../libtboot.a ../Startup.o
	$(LD) -o dir ../Startup.o $(OBJECTS) dir.o $(LIBS)

newdir: newdir.o ../libtboot.a ../Startup.o
	$(LD) -o newdir Startup.o newdir.o $(LIBS)

../libtboot.a:
	(cd ..; make libtboot.a)

../Startup.o: ../Startup.s
	(cd ..; make Startup.o)

clean:
	rm -f l.out *.o *.a

install:
	cp tboot $(DESTDIR)
	chown root $(DESTDIR)/tboot
	chgrp daemon $(DESTDIR)/tboot
	chmod ugo=r $(DESTDIR)/tboot

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.