ref: 28bd7ce52f18b60f044b3e66891e94d188f0ca73
parent: c4fdf5a17a7c591d395fbeb758b6f757e71dfe68
author: oxygene2000 <oxygene2000>
date: Mon Feb 7 13:35:55 EST 2000
Made more variables to tune gcc
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,10 @@
SOURCE=aac_qc.c aac_se_enc.c bitstream.c enc_tf.c encoder.c is.c mc_enc.c ms.c psych.c pulse.c tns.c transfo.c fastfft.c nok_ltp_enc.c nok_pitch.c winswitch.c rdft_spectrum.c rateconv.c
-
+CC=gcc
OBJ = $(SOURCE:.c=.o)
-CC_OPTS=-g -DHAS_ULONG -O3
+CC_OPTS=-DHAS_ULONG -O9 -funroll-loops -finline-functions
+LD_OPTS=
TARGETS=faac
@@ -11,7 +12,7 @@
$(CC) $(CC_OPTS) -c $< -o $@
faac: $(OBJ) Makefile
- gcc -o faac $(OBJ) -lsndfile -lm
+ $(CC) $(LD_OPTS) -o faac $(OBJ) -lsndfile -lm
all: $(TARGETS)