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.

48 lines
995 B

  1. # Copyright (c) 1996 - 1997 Microsoft Corporation. All Rights Reserved.
  2. # Ken Greenebaum, November 1996
  3. TARGETS = test.exe testtc.exe timecode.lib
  4. CFLAGS = -nologo\
  5. -Zi \
  6. -Gy \
  7. -MDd \
  8. -Gz \
  9. -W3
  10. LFLAGS = -NOLOGO -DEBUG
  11. DIRT = $(TARGETS)
  12. all: $(TARGETS)
  13. timecode.lib: timecode.obj ltcdcode.obj tchelper.obj vtcdcode.obj
  14. lib -name:timecode timecode.obj ltcdcode.obj tchelper.obj vtcdcode.obj
  15. tchelper.obj: tchelper.cpp tchelper.h
  16. cl $(CFLAGS) -c tchelper.cpp
  17. ltcdcode.obj: ltcdcode.cpp ltcdcode.h
  18. cl $(CFLAGS) -c ltcdcode.cpp
  19. vtcdcode.obj: vtcdcode.cpp vtcdcode.h
  20. cl $(CFLAGS) -c vtcdcode.cpp
  21. timecode.obj: timecode.cpp timecode.h
  22. cl $(CFLAGS) -c timecode.cpp
  23. test.obj: test.cpp
  24. cl $(CFLAGS) -c test.cpp
  25. test.exe: test.obj timecode.lib
  26. link $(LFLAGS) test.obj timecode.lib
  27. testtc.exe: timecode.cpp timecode.h
  28. cl $(CFLAGS) -DTEST timecode.cpp -o testtc.exe
  29. clean:
  30. rm -f $(DIRT)
  31. rm -f *.obj
  32. rm -f *.pdb
  33. rm -f *.ilk