#
#	Makefile for inet NOVA on UNIX
#
#		version 1.02	05-OCT-1992	M. Nomachi	(KEK)
#		version 1.07	20-NOV-1993	Yasuo TAKEUCHI	(T.I.T.)
#
NVINC	= ../include
NVLIB   = ../lib
NNVLIB  = ../netlib

CFLAGS	= -O -I$(NVINC)
#CFLAGS	= -g -I$(NVINC)
LDLIBS  = -L$(NVLIB) -lnova
RM	= rm -f

OBJS	 = novand

NOVAND_OBJS  = novand.o
COM_OBJS     = novand_com.o
NNV_COM      = $(NNVLIB)/nnv_com.o

all	: $(OBJS)

all.sunos4:
	make CC=/usr/ucb/cc  all

all.solaris2:
	make CC=/usr/ucb/cc  all

all.ultrix:
	make CC=/usr/bin/cc  all

novand	: $(NOVAND_OBJS) $(COM_OBJS)
	$(CC) $(CFLAGS) $(NOVAND_OBJS) $(COM_OBJS) $(NNV_COM) -o $@ $(LDLIBS)

clean	:
	$(RM) $(OBJS) *~ *.o core

novand.o   : $(NVINC)/novanet.h novand.c

novand_com.o   : $(NVINC)/novanet.h novand_com.c

