--- trunk/xvidcore/build/generic/Makefile.linuxppc_altivec 2002/03/27 12:58:29 71 +++ trunk/xvidcore/build/generic/Makefile.linuxppc_altivec 2002/03/30 16:21:47 92 @@ -20,6 +20,12 @@ CFLAGS += -Wall -O3 -funroll-loops -ffast-math CFLAGS += -fstrict-aliasing -fomit-frame-pointer +## for debugging, comment the previous lines and uncomment the next one. +#CFLAGS += -Wall -g -D_PROFILING_ + +## for profiling, comment the previous lines and uncomment the next one. +#CFLAGS += -Wall -D_PROFILING_ -O2 + AS = as %.o: %.s @@ -30,16 +36,10 @@ all: $(LIB) $(LIBSO) $(LIB): $(SRC:.c=.o) $(SRC_ALTIVEC:.s=.o) - @echo - @echo WARNING: Because of memory alignment problems, Altivec does not work yet - @echo - ar rcs $@ $^ $(LIBSO): $(SRC:.c=.o) $(SRC_ALTIVEC:.s=.o) - @echo - @echo WARNING: Because of memory alignment problems, Altivec does not work yet - @echo $(CC) $(CFLAGS) $^ -shared -lc -lm -o $@ clean: