# Windows Makefile for geometry
# 
!include $(ROSE_CONFIG)

# Set these to the compiler flags and directives for all packages.
# These are used by the CXX_COMPILE and CX_LINK C++ compile and link
# macros.
#
CXX_CFLAGS 	= /I"$(ROSE_INCLUDE)" /I"$(ROSE_INCLUDE)\ifcbim" /I"$(ROSE_INCLUDE)\ifcx"
CXX_LDFLAGS 	= /LIBPATH:"$(ROSE_LIB)"
LIBRARIES 	= ifcx.lib rosemath.lib ifcbim.lib rosexml.lib rose.lib dtnurbsc.lib vcf2c.lib ole32.lib $(CXX_SYSLIBS)

# EXECS AND OBJECT FILES -- All object files are built using the
# default .cxx to .obj rules defined in the $ROSE_CONFIG file
#
EXEC	= geometry.exe
OBJECTS = \
	make_guid$o \
	make_history$o \
	make_units$o \
	geometry$o

#========================================
# Standard Symbolic Targets
#
default: $(EXEC)
install: $(EXEC)

clean: 
	- $(RM) *.obj
	- $(RM) *.exe
	- $(RM) *.exe.manifest

very-clean: 	clean
spotless: 	very-clean

#========================================
# Executables and other targets
#
$(EXEC): $(OBJECTS)
	$(CXX_LINK) /out:$@ $(OBJECTS) $(LIBRARIES)
	$(CXX_EMBED_EXE_MANIFEST)
