blob: 96a875de1763d6a7e5740ab626ca80804f113121 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#
# For instalation. Change this to your settings.
#
INC_DIR = ../../../include
LIB_DIR = ../..
#
# compiler
#
CC=cc
CFLAG= @CFLAG@ -I$(INC_DIR)
#
# For making the library
#
AR= ar
ARFLAGS= @ARFLAG@
#
# products
#
LIB= ${LIB_DIR}/libARvideo.a
INCLUDE= ${INC_DIR}/AR/video.h
#
# compilation control
#
LIBOBJS= ${LIB}(video.o)
all: ${LIBOBJS}
${LIBOBJS}: ${INCLUDE}
.c.a:
${CC} -c ${CFLAG} $<
${AR} ${ARFLAGS} $@ $*.o
rm -f $*.o
clean:
rm -f *.o
rm -f ${LIB}
allclean:
rm -f *.o
rm -f ${LIB}
rm -f Makefile
|