Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
539 B

  1. #
  2. # If BUILDMSG is not defined, the define it as the empty string to make
  3. # the conditionals easier to write.
  4. #
  5. .SUFFIXES: .mh .mcp
  6. GENTGT = $(_OBJ_DIR)\$(TARGET_DIRECTORY)
  7. # Create a .h file from a .mh file.
  8. {..}.mh{$(GENTGT)}.h:
  9. m4 -I.. $< > $*.h
  10. # Create a .cpp file from a .mcp file.
  11. {..}.mcp{$(GENTGT)}.cpp:
  12. m4 -I.. $< > $(GENTGT)\$(<B).cpp
  13. ..\pvvid.mcp: ..\pvvid.mh
  14. ..\pvone.mcp: ..\pvvid.mh
  15. ..\loops.mcp: ..\pvvid.mh
  16. $(GENTGT)\pvvid.cpp: ..\pvvid.mcp
  17. $(GENTGT)\pvone.cpp: ..\pvone.mcp
  18. $(GENTGT)\loops.cpp: ..\loops.mcp