# Windows Makefile for stp_aim_assembly
# 
!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)\stp_aim" /I"$(ROSE_INCLUDE)\stix"
CXX_LDFLAGS 	= /LIBPATH:"$(ROSE_LIB)"
LIBRARIES 	= stix.lib rosemath.lib stp_aim.lib rosexml.lib rose.lib dtnurbsc.lib vcf2c.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	= stp_aim_assembly.exe
OBJECTS = \
	make_box$o \
	assembly_utils$o \
	geometry_utils$o \
	context_utils$o \
	unit_utils$o \
	assembly$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)
