###
# $Id$
#
# Windows nmake make file.
#
# Typical usarge: nmake /f makefile.vc
#
# NOTE: Use a '#' in the first column to comment out directories not compiled.
#
###

default:
	cd contrib
	$(MAKE) /f makefile.vc
	cd ..
	cd csm
#	$(MAKE) /f makefile.vc
	cd ..
	cd gdal
	$(MAKE) /f makefile.vc
	cd ..
	cd kakadu
	$(MAKE) /f makefile.vc
	cd ..
	cd mrsid
#	$(MAKE) /f makefile.vc
	cd ..
	cd ndf
	$(MAKE) /f makefile.vc
	cd ..
	cd nitro
#	$(MAKE) /f makefile.vc
	cd ..	
	cd nui
#	$(MAKE) /f makefile.vc
	cd ..
	cd openjpeg
#	$(MAKE) /f makefile.vc
	cd ..
	cd ossim
	$(MAKE) /f makefile.vc
	cd ..
	cd png
	$(MAKE) /f makefile.vc
	cd ..
	cd registration
	$(MAKE) /f makefile.vc
	cd ..
	cd worldwind
#	$(MAKE) /f makefile.vc
	cd ..

clean:
	cd contrib
	$(MAKE) /f makefile.vc clean
	cd ..
	cd csm
#	$(MAKE) /f makefile.vc clean
	cd ..
	cd gdal
	$(MAKE) /f makefile.vc clean
	cd ..
	cd kakadu
	$(MAKE) /f makefile.vc clean
	cd ..
	cd mrsid
#	$(MAKE) /f makefile.vc clean
	cd ..
	cd ndf
	$(MAKE) /f makefile.vc clean
	cd ..
	cd nitro
#	$(MAKE) /f makefile.vc clean
	cd ..	
	cd nui
#	$(MAKE) /f makefile.vc clean
	cd ..
	cd openjpeg
#	$(MAKE) /f makefile.vc clean
	cd ..
	cd ossim
	$(MAKE) /f makefile.vc clean
	cd ..
	cd png
	$(MAKE) /f makefile.vc clean
	cd ..
	cd registration
	$(MAKE) /f makefile.vc clean
	cd ..
	cd worldwind
#	$(MAKE) /f makefile.vc clean
	cd ..

install:
	cd contrib
	$(MAKE) /f makefile.vc install
	cd ..
	cd csm
#	$(MAKE) /f makefile.vc install
	cd ..
	cd gdal
	$(MAKE) /f makefile.vc install
	cd ..
	cd kakadu
	$(MAKE) /f makefile.vc install
	cd ..
	cd mrsid
#	$(MAKE) /f makefile.vc install
	cd ..
	cd ndf
	$(MAKE) /f makefile.vc install
	cd ..
	cd nitro
#	$(MAKE) /f makefile.vc install
	cd ..	
	cd nui
#	$(MAKE) /f makefile.vc install
	cd ..
	cd openjpeg
#	$(MAKE) /f makefile.vc install
	cd ..
	cd ossim
	$(MAKE) /f makefile.vc install
	cd ..
	cd png
	$(MAKE) /f makefile.vc install
	cd ..
	cd registration
	$(MAKE) /f makefile.vc install
	cd ..
	cd worldwind
#	$(MAKE) /f makefile.vc install
	cd ..
