Leaked source code of windows server 2003
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.

34 lines
712 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).obj: $(PROJ).c
  13. $(cc) $(cflags) $(cdebug) $(cvars) $(PROJ).c
  14. $(PROJ).exe: $(PROJ_OBJS)
  15. $(link) $(conlflags) $(ldebug) $(PROJ_OBJS)\
  16. -out:$(PROJ).exe \
  17. $(conlibs) shell32.lib user32.lib
  18. clean:
  19. del *.obj
  20. del *.pdb
  21. cleaner: clean
  22. del *.exe