home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / cdtst105.zip / makefile < prev    next >
Makefile  |  1999-01-01  |  631b  |  39 lines

  1. #
  2. #  testspeed.exe makefile for NMAKE and VAC++
  3. #
  4.  
  5. CC = icc
  6. AS = wasm
  7. RC = rc
  8.  
  9. .ASM.OBJ:
  10.    $(AS) $(AFLAGS) $*.ASM
  11.  
  12. .RC.RES:
  13.    $(RC) -r $*.rc
  14.  
  15. all: testspeed.exe
  16.  
  17. CFLAGS = /Tdp /Q /B"/ST:128000"
  18.  
  19. !IFDEF DEBUG
  20. CFLAGS = /Ti $(CFLAGS)
  21. !ENDIF
  22.  
  23. !IFNDEF NOTOPT
  24. CFLAGS = /B "/PACKCODE /PACKDATA" /Gf /Gi /O /Ol /G5 $(CFLAGS)
  25. !ENDIF
  26.  
  27. OBJECTS = testspeed.obj readcd.obj pmsam.obj prfsam.obj
  28.  
  29. RESOURCE =
  30. LIBS =
  31.  
  32. testspeed.exe: $(OBJECTS)
  33.    $(CC) $(CFLAGS) /Fm$* /Fe$@ $(OBJECTS) $(LIBS)
  34.  
  35. prfsam.obj:
  36. pmsam.obj: prfsam.h pmsam.h
  37. readcd.obj: readcd.h pmsam.h miscsam.h
  38. testspeed.obj: miscsam.h readcd.h
  39.