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

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

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

revision 52, Thu Mar 21 23:59:48 2002 UTC revision 92, Sat Mar 30 16:21:47 2002 UTC
# Line 4  Line 4 
4  # *  # *
5  # * Adapted from linux x86 Makefile by Guillaume Morin <guillaume@morinfr.org>  # * Adapted from linux x86 Makefile by Guillaume Morin <guillaume@morinfr.org>
6  # *  # *
 # * Still incomplete but WIP  
 # *  
7  # * libso:  # * libso:
8  # * (-lm not neccessary if using -ffast-math)  # * (-lm not neccessary if using -ffast-math)
9  # *  # *
# Line 22  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 debugging, comment the previous lines and uncomment the next one.
24    #CFLAGS += -Wall -g -D_PROFILING_
25    
26    ## for profiling, comment the previous lines and uncomment the next one.
27    #CFLAGS += -Wall -D_PROFILING_ -O2
28    
29  AS = as  AS = as
30    
31  %.o: %.s  %.o: %.s
# Line 31  Line 35 
35    
36  all: $(LIB) $(LIBSO)  all: $(LIB) $(LIBSO)
37    
   
38  $(LIB): $(SRC:.c=.o) $(SRC_PPC:.s=.o)  $(LIB): $(SRC:.c=.o) $(SRC_PPC:.s=.o)
39          ar rcs $@ $^          ar rcs $@ $^
40    
# Line 39  Line 42 
42  $(LIBSO): $(SRC:.c=.o) $(SRC_PPC:.s=.o)  $(LIBSO): $(SRC:.c=.o) $(SRC_PPC:.s=.o)
43          $(CC) $(CFLAGS) $^ -shared -lc -lm -o $@          $(CC) $(CFLAGS) $^ -shared -lc -lm -o $@
44    
   
45  clean:  clean:
46          $(RM) `find $(SRCDIR) -name "*.o"`          $(RM) `find $(SRCDIR) -name "*.o"`
47    

Legend:
Removed from v.52  
changed lines
  Added in v.92

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