#===============================================================
#  V test application Makefile - Version 6/25/1996
#
#  Copyright (C) 1995  Bruce E. Wampler
#
#  This file is part of the V C++ GUI Framework.
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#===============================================================

CONFIG=../Config.mk
include $(CONFIG)

PROG=		v1.exe

EXOBJS=\
	testapp.o \
	vtcanvas.o \
	vtcmdwin.o \
	vtcw2.o \
	vttogdlg.o \
	vtdialog.o

default: all

all: $(PROG)

clean:
	-rm -f $(CLEANEXTS)

cleanobj: clean
	-rm -f $(EXOBJS)

cleanall: cleanobj
	-rm -f $(PROG)

objs:	$(EXOBJS)

#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

$(PROG):	$(EXOBJS)
	$(CXX) -o $@ $(EXOBJS) $(LDFLAGS)

vtcanvas.o:	vtcanvas.cpp vtcanvas.h
	$(CXX) -c $(CFLAGS) -o $@ $<                     

vtdialog.o:	vtdialog.cpp vtdialog.h
	$(CXX) -c $(CFLAGS) -o $@ $<                     

vttogdlg.o:	vttogdlg.cpp vttogdlg.h
	$(CXX) -c $(CFLAGS) -o $@ $<                     

vtcmdwin.o:	vtcmdwin.cpp vtcmdwin.h
	$(CXX) -c $(CFLAGS) -o $@ $<                     

vtcw2.o:	vtcw2.cpp vtcw2.h
	$(CXX) -c $(CFLAGS) -o $@ $<                     

testapp.o:	testapp.cpp
	$(CXX) -c $(CFLAGS) -o $@ $<
