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
CC= cc
10
CFLAG= @CFLAG@ -I$(INC_DIR)
11
#
12
# For making the library
13
#
14
AR= ar
15
ARFLAGS= @ARFLAG@
16
#
17
#   products
18
#
19
LIB= ${LIB_DIR}/libARvideo.a
20
INCLUDE= ${INC_DIR}/AR/video.h
21
#
22
#   compilation control
23
#
24
LIBOBJS= ${LIB}(video.o)
25
 
26
all:		${LIBOBJS}
27
 
28
${LIBOBJS}:	${INCLUDE}
29
 
30
.c.a:
31
	${CC} -c ${CFLAG} $<
32
	${AR} ${ARFLAGS} $@ $*.o
33
	rm -f $*.o
34
 
35
clean:
36
	rm -f *.o
37
	rm -f ${LIB}
38
 
39
allclean:
40
	rm -f *.o
41
	rm -f ${LIB}
42
	rm -f Makefile