[svn] / trunk / xvidcore / build / generic / Makefile.linuxppc_altivec Repository:
ViewVC logotype

Diff of /trunk/xvidcore/build/generic/Makefile.linuxppc_altivec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 71, Wed Mar 27 12:58:29 2002 UTC revision 99, Wed Apr 3 14:19:50 2002 UTC
# Line 20  Line 20 
20  CFLAGS += -Wall -O3 -funroll-loops -ffast-math  CFLAGS += -Wall -O3 -funroll-loops -ffast-math
21  CFLAGS += -fstrict-aliasing -fomit-frame-pointer  CFLAGS += -fstrict-aliasing -fomit-frame-pointer
22    
23    ## for profiling, uncomment the next line.
24    #CFLAGS += -D_PROFILING_
25    
26    ## for debugging, comment the previous lines and uncomment the next one.
27    #CFLAGS += -Wall -g
28    
29  AS = as  AS = as
30    # if GNU as choke on Altivec instructions, try to comment the previous
31    # line, and uncomment the next one.
32    # AS = as -mvec
33    
34  %.o: %.s  %.o: %.s
35          $(AS) $< -o $@          $(AS) $< -o $@
# Line 30  Line 39 
39  all: $(LIB) $(LIBSO)  all: $(LIB) $(LIBSO)
40    
41  $(LIB): $(SRC:.c=.o) $(SRC_ALTIVEC:.s=.o)  $(LIB): $(SRC:.c=.o) $(SRC_ALTIVEC:.s=.o)
         @echo  
         @echo WARNING: Because of memory alignment problems, Altivec does not work yet  
         @echo -  
42          ar rcs $@ $^          ar rcs $@ $^
43    
44    
45  $(LIBSO): $(SRC:.c=.o) $(SRC_ALTIVEC:.s=.o)  $(LIBSO): $(SRC:.c=.o) $(SRC_ALTIVEC:.s=.o)
         @echo  
         @echo WARNING: Because of memory alignment problems, Altivec does not work yet  
         @echo  
46          $(CC) $(CFLAGS) $^ -shared -lc -lm -o $@          $(CC) $(CFLAGS) $^ -shared -lc -lm -o $@
47    
48  clean:  clean:

Legend:
Removed from v.71  
changed lines
  Added in v.99

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4