shithub: aacenc

Download patch

ref: fb449b80afc731c9cde4d2795cc052db4a78a7f8
parent: 568ef3741aeb3d17339b0e50cfa001603ed1d6a0
author: menno <menno>
date: Thu Nov 8 14:12:41 EST 2001

Updated makefiles for MingW32 and Dev-C++ as well as DJGPP

--- a/project/mingw32/Makefile
+++ b/project/mingw32/Makefile
@@ -4,14 +4,14 @@
 # Edit this path to let it point to the location of the source on your HDD
 SRCDIR=e:\faac
 
-# Edit this path to let it point to the location of your MinGW (or DJGPP) installation
-LCCDIR=c:\MinGW
+# Edit this path to let it point to the location of your MinGW (or Dev-C++) installation
+CCDIR=c:\MinGW
 
 # No editing needed after this point
 
-CFLAGS=-I$(LCCDIR)\include -I$(SRCDIR)\include -I$(SRCDIR)\common\getopt -I$(SRCDIR)\common\libsndfile\win32 -I$(SRCDIR)\common\libsndfile\src  -O 
-CC=$(LCCDIR)\bin\gcc.exe
-LINKER=$(LCCDIR)\bin\gcc.exe
+CFLAGS=-mconsole -O3 -DWIN32 -I$(CCDIR)\include -I$(SRCDIR)\include -I$(SRCDIR)\common\getopt -I$(SRCDIR)\common\libsndfile\win32 -I$(SRCDIR)\common\libsndfile\src 
+CC=$(CCDIR)\bin\gcc.exe
+LINKER=$(CCDIR)\bin\gcc.exe
 OBJS=\
 	getopt.o \
 	aiff.o \
@@ -68,7 +68,7 @@
 LIBS=
 
 faac.exe:	$(OBJS) Makefile
-	$(LINKER)  -o $(SRCDIR)\lcc\faac.exe $(OBJS) $(LIBS)
+	$(LINKER) -s -o $(SRCDIR)\project\faac.exe $(OBJS) $(LIBS)
 
 # Build GETOPT.C
 GETOPT_C=\
@@ -727,5 +727,5 @@
 	$(CC) -c $(CFLAGS) $(SRCDIR)\libfaac\util.c
 
 link:
-	$(LINKER)  $(SRCDIR)\lcc\faac.exe $(OBJS) $(LIBS)
+	$(LINKER) -s -o $(SRCDIR)\project\faac.exe $(OBJS) $(LIBS)
 
--- /dev/null
+++ b/project/mingw32/faac.dev
@@ -1,0 +1,166 @@
+[Project]
+FileName=E:\faac\project\mingw32\faac.dev
+Name=faac
+Use_gpp=0
+UnitCount=51
+ResFiles=
+NoConsole=0
+IsDll=0
+Icon=C:\DEV-C++\Icon\Console.ico
+CompilerOptions=-DWIN32
+IncludeDirs=e:\faac\common\getopt\;e:\faac\common\libsndfile\src\;e:\faac\common\libsndfile\win32\;e:\faac\include\;e:\faac\libfaac\
+ObjFile=
+
+[Unit1]
+FileName=E:\faac\common\getopt\getopt.c
+
+[Unit2]
+FileName=E:\faac\common\libsndfile\src\aiff.c
+
+[Unit3]
+FileName=E:\faac\common\libsndfile\src\alaw.c
+
+[Unit4]
+FileName=E:\faac\common\libsndfile\src\au.c
+
+[Unit5]
+FileName=E:\faac\common\libsndfile\src\au_g72x.c
+
+[Unit6]
+FileName=E:\faac\common\libsndfile\src\common.c
+
+[Unit7]
+FileName=E:\faac\common\libsndfile\src\G72x\g721.c
+
+[Unit8]
+FileName=E:\faac\common\libsndfile\src\G72x\g723_16.c
+
+[Unit9]
+FileName=E:\faac\common\libsndfile\src\G72x\g723_24.c
+
+[Unit10]
+FileName=E:\faac\common\libsndfile\src\G72x\g723_40.c
+
+[Unit11]
+FileName=E:\faac\common\libsndfile\src\G72x\g72x.c
+
+[Unit12]
+FileName=E:\faac\common\libsndfile\src\GSM610\add.c
+
+[Unit13]
+FileName=E:\faac\common\libsndfile\src\GSM610\table.c
+
+[Unit14]
+FileName=E:\faac\common\libsndfile\src\GSM610\decode.c
+
+[Unit15]
+FileName=E:\faac\common\libsndfile\src\GSM610\gsm_create.c
+
+[Unit16]
+FileName=E:\faac\common\libsndfile\src\GSM610\gsm_decode.c
+
+[Unit17]
+FileName=E:\faac\common\libsndfile\src\GSM610\gsm_destroy.c
+
+[Unit18]
+FileName=E:\faac\common\libsndfile\src\GSM610\gsm_encode.c
+
+[Unit19]
+FileName=E:\faac\common\libsndfile\src\GSM610\gsm_option.c
+
+[Unit20]
+FileName=E:\faac\common\libsndfile\src\GSM610\long_term.c
+
+[Unit21]
+FileName=E:\faac\common\libsndfile\src\GSM610\lpc.c
+
+[Unit22]
+FileName=E:\faac\common\libsndfile\src\GSM610\preprocess.c
+
+[Unit23]
+FileName=E:\faac\common\libsndfile\src\GSM610\rpe.c
+
+[Unit24]
+FileName=E:\faac\common\libsndfile\src\GSM610\short_term.c
+
+[Unit25]
+FileName=E:\faac\common\libsndfile\src\GSM610\code.c
+
+[Unit26]
+FileName=E:\faac\common\libsndfile\src\wav_ms_adpcm.c
+
+[Unit27]
+FileName=E:\faac\common\libsndfile\src\paf.c
+
+[Unit28]
+FileName=E:\faac\common\libsndfile\src\pcm.c
+
+[Unit29]
+FileName=E:\faac\common\libsndfile\src\raw.c
+
+[Unit30]
+FileName=E:\faac\common\libsndfile\src\sndfile.c
+
+[Unit31]
+FileName=E:\faac\common\libsndfile\src\svx.c
+
+[Unit32]
+FileName=E:\faac\common\libsndfile\src\ulaw.c
+
+[Unit33]
+FileName=E:\faac\common\libsndfile\src\wav.c
+
+[Unit34]
+FileName=E:\faac\common\libsndfile\src\wav_float.c
+
+[Unit35]
+FileName=E:\faac\common\libsndfile\src\wav_gsm610.c
+
+[Unit36]
+FileName=E:\faac\common\libsndfile\src\wav_ima_adpcm.c
+
+[Unit37]
+FileName=E:\faac\common\libsndfile\src\newpcm.c
+
+[Unit38]
+FileName=E:\faac\frontend\main.c
+
+[Unit39]
+FileName=E:\faac\libfaac\util.c
+
+[Unit40]
+FileName=E:\faac\libfaac\backpred.c
+
+[Unit41]
+FileName=E:\faac\libfaac\bitstream.c
+
+[Unit42]
+FileName=E:\faac\libfaac\channels.c
+
+[Unit43]
+FileName=E:\faac\libfaac\fft.c
+
+[Unit44]
+FileName=E:\faac\libfaac\filtbank.c
+
+[Unit45]
+FileName=E:\faac\libfaac\frame.c
+
+[Unit46]
+FileName=E:\faac\libfaac\huffman.c
+
+[Unit47]
+FileName=E:\faac\libfaac\joint.c
+
+[Unit48]
+FileName=E:\faac\libfaac\ltp.c
+
+[Unit49]
+FileName=E:\faac\libfaac\psych.c
+
+[Unit50]
+FileName=E:\faac\libfaac\tns.c
+
+[Unit51]
+FileName=E:\faac\libfaac\aacquant.c
+