# WARNING: DO NOT EDIT.
# THIS FILE WAS AUTOMATICALLY GENERATED USING THE
# BUILDMAKE PROGRAM.

#
# Makefile for Vkernel exception server
#

HOSTS="shasta navajo"
HEADERS= ../../libc/include/Venviron.h ../../libc/include/Vexceptions.h
SOURCES= exceptions.c stdexcept.c
OBJECTS= exceptions.b stdexcept.b
C68FLAGS =  -DMC68000 -O -V
LIBS = 

# first, define the world of 68000s
.SUFFIXES: .b .ls .a68 .c

# how to compile a 68000 file
.c.b:
	cc68 $(C68FLAGS) -c $*.c 

# how to make an assembly file (Not deleting it or assembling it)
.c.s:
	cc68 $(C68FLAGS) -S $*.c

# how to make an assembly listing
.c.ls:
	cc68 $(C68FLAGS) -c -L $*.c

#END world of 68000's


# compile everything that needs it
lib: $(OBJECTS)
	ar rc libVexcept.a exceptions.b stdexcept.b

install: lib
	netinstall libVexcept.a /usr/sun/lib $(HOSTS)

$(OBJECTS): $(HEADERS)

clean:
	rm -f *.o *.b *.s *.ls *CKP *BAK .emacs* *.a
cleanbak:
	rm -f *CKP *BAK

backup:
	cd ..; cpdir exceptions ../../Vbackup/servers/exceptions

build:
	buildmake.sh

xbuild:
	buildmake.sh -DX=1
