# # If BUILDMSG is not defined, the define it as the empty string to make # the conditionals easier to write. # .SUFFIXES: .mh .mcp GENTGT = $(_OBJ_DIR)\$(TARGET_DIRECTORY) # We must use our own version of m4 for two reasons: # 1. Alpha support. # 2. It has bug fixes that are necessary to correctly process our m4 files. M4 = $(DXGROOT)\tools\$(PROCESSOR_ARCHITECTURE)\m4.exe # Create a .h file from a .mh file. {..}.mh{$(GENTGT)}.h: $(M4) -I.. $< > $*.h # Create a .cpp file from a .mcp file. {..}.mcp{$(GENTGT)}.cpp: $(M4) -I.. $< > $(GENTGT)\$(