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

VPATH=../mi
SOURCES = ndboot.c ether.c readfile.c
HEADERS =
OBJECTS = ndboot.o ether.o readfile.o
ALL = ndboot.vax
INCLUDES = 

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

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



# normal compile of a module
.c.o:
	ccVAX $(CFLAGS) $(INCLUDES) -c $*.c 

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

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

all: $(ALL)

ndboot.vax: $(OBJECTS)
	ccVAX $(CFLAGS) -o ndboot.vax $(OBJECTS) $(LIBRARIES)

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

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

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

