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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 129 - (view) (download)

1 : knhor 129 #/**************************************************************************
2 :     # *
3 :     # * generic makefile
4 :     # *
5 :     # * defines: -DLINUX -DBIG_ENDIAN
6 :     # *
7 :     # *
8 :     # *************************************************************************/
9 :    
10 :    
11 :     include Makefile.inc
12 :    
13 :    
14 :     CC = gcc -Wall
15 :     CFLAGS = -DFREEBSD
16 :    
17 :    
18 :     RM = rm -rf
19 :    
20 :    
21 :     all: $(LIB) $(LIBSO)
22 :    
23 :    
24 :     $(LIB): $(SRC:.c=.o)
25 :     ar rcs $@ $^
26 :    
27 :    
28 :     $(LIBSO): $(SRC:.c=.o)
29 :     $(CC) $^ -shared -lc -lm -o $@
30 :    
31 :     clean:
32 :     $(RM) `find $(SRCDIR) -name "*.o"`
33 :    
34 :     remove-all:
35 :     $(RM) $(DIRS)
36 :     $(RM) $(LIB)
37 :     $(RM) $(LIBSO)

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