#=======================================================================
#@V@:Note: This file generated by vgen V1.00 (04:39:41 PM 13 Aug 1996).
#=======================================================================

CC	=	g++

HOMEV	=	/usr/local/v
X11INC	=	/usr/X11/include
X11LIB	=	/usr/X11R6/lib
LIBS	=	-lV -lXaw -lXmu -lXt -lXext -lX11
VLibDir	=	$(HOMEV)/lib
oDir	=	.
Bin	=	.

VPATH	=	$(HOMEV)/include/v

#--------------------------------------------------------------
# Architecture dependent

# Flags for includes and libraries

CFLAGS	=	-O -I$(X11INC) -I$(HOMEV)/include

LFLAGS	=	-O -L$(X11LIB) -L$(VLibDir)

EXOBJS	=	$(oDir)/myapp.o \
		$(oDir)/mydlg.o \
		$(oDir)/mycnv.o \
		$(oDir)/mycmdw.o

all:	$(Bin)/my

objs:	$(EXOBJS)

$(Bin)/my:	$(EXOBJS) $(VLibDir)/libV.a
	$(CC) -o $@ $(LFLAGS) $(EXOBJS) $(LIBS)

$(oDir)/mycnv.o:	mycnv.cpp v_defs.h mycnv.h
	$(CC) -c $(CFLAGS) -o $@ $<

$(oDir)/mydlg.o:	mydlg.cpp v_defs.h mydlg.h
	$(CC) -c $(CFLAGS) -o $@ $<

$(oDir)/mycmdw.o:	mycmdw.cpp v_defs.h mycmdw.h
	$(CC) -c $(CFLAGS) -o $@ $<

$(oDir)/myapp.o:	myapp.cpp v_defs.h mydlg.h \
	myapp.h mycmdw.h
	$(CC) -c $(CFLAGS) -o $@ $<
