#
#
include $(ROOT)/usr/avs/include/Makeinclude

AVS_LIBS = $(ROOT)/usr/avs/lib
CFLAGS = -I$(ROOT)/usr/avs/include   $(LOCAL_CFLAGS)
#CFLAGS = -I$(ROOT)/usr/avs/include  -gg $(LOCAL_CFLAGS)
BASELIBS= -lgeom -lutil -lm $(LASTLIBS)
FLOWLIBS=-L$(AVS_LIBS) -lflow_c $(BASELIBS)
CSIMLIBS=-L$(AVS_LIBS) -lsim_c $(BASELIBS)

all: ucd_plumbline 

ucd_plumbline: ucd_plumbline.o
	$(CC) $(CFLAGS) -o ucd_plumbline ucd_plumbline.o $(FLOWLIBS)


clean:
	rm -f ucd_plumbline ucd_plumbline.o core