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.

42 lines
859 B

  1. !INCLUDE $(NTMAKEENV)\makefile.plt
  2. #
  3. # If BUILDMSG is not defined, the define it as the empty string to make
  4. # the conditionals easier to write.
  5. #
  6. !IFNDEF BUILDMSG
  7. BUILDMSG=
  8. !ENDIF
  9. !IFNDEF NO_STRICT
  10. STRICT=1
  11. !ENDIF
  12. TARGETSRCS0 =
  13. TARGETSRCS1 = \
  14. !if $(386) && defined(BUILD_INC_FILES)
  15. main\ddkmmini.inc
  16. !endif
  17. TARGETSRCS = $(TARGETSRCS0) $(TARGETSRCS1)
  18. all: $(TARGETSRCS)
  19. !IF "$(BUILDMSG)" != ""
  20. @ech ; $(BUILDMSG) ;
  21. !ENDIF
  22. clean: all
  23. clean1: cleansrc all
  24. cleansrc:
  25. # Use for loop because command.com's erase doesn't support multiple
  26. # file listings. Separate sources into smaller lists because command.com
  27. # faults. Totally bogus.
  28. -@for %x in ($(TARGETSRCS0)) do erase %x
  29. -@for %x in ($(TARGETSRCS1)) do erase %x
  30. main\ddkmmini.inc : main\ddkmmini.h
  31. $(PATH_TOOLS16)\h2inc.exe -d -n -f main\ddkmmini.h -o main\ddkmmini.inc