# Makefile for urg/vc2005

# Compile options
VCPROGEN = ../../../../scripts/vcprogen.rb
URG_PATH = ../..
CFG_FILE = urg_cpp_cfg.txt

# Target
TARGET = urg_cpp.vcproj

all : $(TARGET)

clean :
	$(RM) $(TARGET)

.PHONY : all clean
######################################################################
urg_cpp.vcproj : $(VCPROGEN) $(CFG_FILE) Makefile ../src/Makefile.am ../configure.in
	ruby $(VCPROGEN) --name urg_cpp --type lib --mask "cpp,h" --headers "..\..\SDL_devel\include" --sources "`find $(URG_PATH) -name "Makefile.am" ! -path "*/samples/*" -print | grep "cpp/.*Makefile.am"`" $(CFG_FILE)
