# buildfile for ND boot server
# 11/05/83 TPM

VPATH=../mi
SOURCES = ndboot.c ether.c readfile.c
HEADERS =
OBJECTS = ndboot.b ether.b readfile.b
ALL = ndboot.m68k
INCLUDES = 

#ifdef LIBRARIES
LIBRARIES =
#endif
#LIBRARIES = -lpup
.SUFFIXES: .b .ls .s .c

#include ../../../buildprefix
C68FLAGS = -V -v${Xx} -O -I../mi



# normal compile of a module
.c.b:
	cc68 $(C68FLAGS) $(INCLUDES) -c $*.c 

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

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

all: $(ALL)

ndboot.m68k: $(OBJECTS)
	cc68 -r $(C68FLAGS) -o ndboot.m68k $(OBJECTS) $(LIBRARIES)

clean:
	rm -f *.BAK *.CKP $(OBJECTS)

install:
	$(NETINSTALL) -p "$(ALL)" $(VSYS)/bin

tags: $(HEADERS) $(SOURCES)
	ctags $(HEADERS) $(SOURCES)

