home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 13 / AACD13.ISO / AACD / Sound / LAME / src / Makefile.MSVC < prev    next >
Makefile  |  2000-06-13  |  2KB  |  103 lines

  1. # Makefile.MSVC: MSVC Makefile for LAME 3.81 (alpha1)
  2.  
  3. PGM = lame
  4.  
  5. # Microsoft C options
  6. # CC = cl
  7. # LN = link
  8.  
  9. # Intel 4.5 compiler
  10. CC = icl
  11. LN = xilink
  12.  
  13. # debugging options
  14. # CC_OPTS = /nologo /Zi /Ge /GZ
  15. # LN_OPTS = /nologo /debug:full /debugtype:cv /fixed:no
  16.  
  17. # profiling options
  18. # CC_OPTS = /nologo /Zi /O2ab2gitwy /G6AFs /DNDEBUG 
  19. # LN_OPTS = /nologo /debug:full /debugtype:cv /fixed:no /profile
  20.  
  21. # release options
  22. # CC_OPTS = /nologo /O2ab2gitwy /G6AFs /DNDEBUG 
  23. # LN_OPTS = /nologo
  24.  
  25. # Intel 4.5 options
  26. CC_OPTS = /nologo /DNDEBUG /Qunroll /O2 /G5AFs /QaxM /Qipo_obj /QIfist- 
  27. LN_OPTS = /nologo
  28.  
  29. GTK =
  30. GTKLIBS =
  31. SNDLIB = /DLAMESNDFILE
  32. LIBSNDFILE =
  33. LIBS =
  34. MAKEDEP =
  35. TIMER_SWITCH =
  36. BRHIST_SWITCH = # /DBRHIST
  37. LIBTERMCAP =
  38. #
  39. # uncomment the following if you have Vorbis
  40. #
  41. #VORBIS = /DHAVEVORBIS -I..\vorbis\include
  42. #VORBIS_LIB = -L..\vorbis\lib -lvorbis
  43.  
  44. CPP_OPTS = /DHAVEMPGLIB 
  45.  
  46. CC_SWITCHES = $(CC_OPTS) $(DISTRIB) $(SNDLIB) $(GTK) \
  47.               /DBS_FORMAT=BINARY $(TIMER_SWITCH) $(BRHIST_SWITCH) $(VORBIS)
  48. LN_SWITCHES = $(LN_OPTS)
  49.  
  50. c_sources = \
  51.  main.c \
  52.         gtkanal.c \
  53.         gpkplotting.c \
  54.  brhist.c \
  55.  bitstream.c \
  56.  fft.c \
  57.  get_audio.c \
  58.  id3tag.c \
  59.  ieeefloat.c \
  60.  lame.c \
  61.  newmdct.c \
  62.  parse.c \
  63.  portableio.c \
  64.  psymodel.c \
  65.  quantize.c \
  66.  quantize-pvt.c \
  67.  vbrquantize.c \
  68.  reservoir.c \
  69.  tables.c \
  70.  takehiro.c \
  71.  timestatus.c \
  72.  util.c \
  73.  VbrTag.c \
  74.  version.c \
  75.  vorbis_interface.c \
  76.  mpglib/common.c \
  77.  mpglib/dct64_i386.c \
  78.  mpglib/decode_i386.c \
  79.  mpglib/layer3.c \
  80.  mpglib/tabinit.c \
  81.  mpglib/interface.c \
  82.  mpglib/main.c 
  83.  
  84. OBJ = $(c_sources:.c=.obj)
  85.  
  86. .c.obj:
  87.  @$(CC) $(CC_SWITCHES) $(CPP_OPTS) /c $< /Fo$@
  88.  
  89. $(PGM).exe: $(OBJ) Makefile.MSVC
  90.  @echo $(PGM).exe
  91.  @$(LN) $(LN_SWITCHES) $(OBJ) $(LIBS) $(LIBSNDFILE) $(GTKLIBS) \
  92.    $(LIBTERMCAP) /out:$(PGM).exe /map:$(PGM).map
  93.  
  94. clean:
  95.  @-del *.obj
  96.  @-del dll\*.obj
  97.  @-del mpglib\*.obj
  98.  
  99. rebuild: clean $(PGM).exe
  100.  
  101.  
  102.  
  103.