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
819 B

  1. # Copyright (C) Microsoft Corporation. All Rights Reserved.
  2. !IF "$(TARGETOS)" != "WINNT"
  3. !ERROR Sorry, tracelog is not supported on non NT platforms
  4. !ENDIF
  5. !IF ("$(APPVER)" != "5.01") && ("$(APPVER)" != "5.0")
  6. !ERROR Sorry, tracelog is only supported on Windows 2000 or higher platforms
  7. !ENDIF
  8. !include <win32.mak>
  9. PROJ = TraceLog
  10. all: $(PROJ).exe
  11. PROJ_OBJS = $(PROJ).obj
  12. PROJ_RES = $(PROJ).res
  13. $(PROJ).exe: $(PROJ).obj \
  14. $(PROJ).res
  15. $(PROJ).obj: $(PROJ).c
  16. $(cc) $(cflags) $(cdebug) $(cvars) $(PROJ).c
  17. $(PROJ).res: $(PROJ).rc
  18. $(rc) -r -fo $(PROJ).res $(PROJ).rc
  19. $(PROJ).exe: $(PROJ_OBJS)
  20. $(link) $(conlflags) $(ldebug) $(PROJ_OBJS)\
  21. -out:$(PROJ).exe \
  22. $(conlibs) shell32.lib user32.lib
  23. clean:
  24. del *.res
  25. del *.obj
  26. del *.pdb
  27. cleaner: clean
  28. del *.exe