# Makefile for urg/vc2005

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

# Target
TARGET = c_urg.vcproj

all : $(TARGET)

clean :
	$(RM) $(TARGET)

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