--- trunk/xvidcore/build/generic/Makefile.linuxppc_altivec 2002/03/27 12:58:29 71 +++ trunk/xvidcore/build/generic/Makefile.linuxppc_altivec 2002/04/03 14:19:50 99 @@ -20,7 +20,16 @@ CFLAGS += -Wall -O3 -funroll-loops -ffast-math CFLAGS += -fstrict-aliasing -fomit-frame-pointer +## for profiling, uncomment the next line. +#CFLAGS += -D_PROFILING_ + +## for debugging, comment the previous lines and uncomment the next one. +#CFLAGS += -Wall -g + AS = as +# if GNU as choke on Altivec instructions, try to comment the previous +# line, and uncomment the next one. +# AS = as -mvec %.o: %.s $(AS) $< -o $@ @@ -30,16 +39,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: