Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
204 chris 1
#
2
# For instalation. Change this to your settings.
3
#
4
INC_DIR = ../../../include
5
LIB_DIR = ../..
6
#
7
#  compiler
8
#
9
# Note we hard code in -O3 here because the Bayer decoder needs to be highly
10
# optimised otherwise it runs so slow you can't use it!
11
CC= cc
12
CFLAG= @CFLAG@ -I$(INC_DIR) -O3
13
#
14
# For making the library
15
#
16
AR= ar
17
ARFLAGS= @ARFLAG@
18
#
19
#   products
20
#
21
LIB= ${LIB_DIR}/libARvideo.a
22
INCLUDE=  ${INC_DIR}/AR/config.h \
23
          ${INC_DIR}/AR/video.h
24
#
25
#   compilation control
26
#
27
LIBOBJS= ${LIB}(video.o conversions.o)
28
 
29
all:		${LIBOBJS}
30
 
31
${LIBOBJS}:	${INCLUDE}
32
 
33
.c.a:
34
	${CC} -c ${CFLAG} $<
35
	${AR} ${ARFLAGS} $@ $*.o
36
	rm -f $*.o
37
 
38
clean:
39
	rm -f *.o
40
	rm -f ${LIB}
41
 
42
allclean:
43
	rm -f *.o
44
	rm -f ${LIB}
45
	rm -f Makefile