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

Annotation of /trunk/xvidcore/build/generic/Makefile.sparc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (view) (download)

1 : Isibaar 3 #/**************************************************************************
2 :     # *
3 :     # * sparc makefile
4 :     # *
5 :     # *
6 :     # *
7 :     # *************************************************************************/
8 :    
9 :    
10 :     include Makefile.inc
11 :    
12 :    
13 :     CC = gcc
14 :     CFLAGS = -fPIC -Wall -DARCH_IS_BIG_ENDIAN -DARCH_SPARC
15 :    
16 :    
17 :     RM = rm -rf
18 :    
19 :    
20 :     all: $(LIB) $(LIBSO)
21 :    
22 :    
23 :     $(LIB): $(SRC:.c=.o)
24 :     ar rcs $@ $^
25 :    
26 :    
27 :     $(LIBSO): $(SRC:.c=.o)
28 :     $(CC) $^ -shared -lc -lm -o $@
29 :    
30 :    
31 :     clean:
32 :     $(RM) $(DIRS)
33 :     $(RM) $(DIRS_INTEL)
34 :     $(RM) $(LIB)
35 :     $(RM) $(LIBSO)
36 :    
37 :     %.o: %.c
38 :     $(CC) $(CFLAGS) -o $@ -c $<
39 :    

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