#	Change to source file name
target=test
#	Change to directory libv installed into
libvroot=..\..
rm=del
cc=cl.exe
cdebug=
cflags=-c -MD -Za -W4 -I$(libvroot)/include
optflags=
ld=link.exe
lflags=/SUBSYSTEM:CONSOLE /OUT:$(target).exe
libs=$(libvroot)/arch/win32/vc_imp/libv.lib opengl32.lib
all:$(target).exe
$(target).obj:$(target).c
	$(cc) $(cflags) $(target).c
$(target).exe:$(target).obj
	$(ld) $(target).obj $(libs) $(lflags) $(runtimelibs)
clean:
	if exist $(target).obj del $(target).obj
	if exist $(target).exe del $(target).exe
