Subversion Repositories spk

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 cycrow 1
SRC =  	7Decoder.cpp LzmaDecode.cpp
2
 
3
OBJ = $(SRC:.cpp=.o)
4
 
5
OUT = ../lib7.a
6
 
7
# include directories
8
INCLUDES = -I. -I../include/ -I/usr/local/include
9
 
10
# C++ compiler flags (-g -O2 -Wall)
11
CCFLAGS = -g
12
 
13
# compiler
14
CCC = cc
15
 
16
# library paths
17
LIBS = -L../ -L/usr/local/lib -lm
18
 
19
# compile flags
20
LDFLAGS = -g
21
 
22
.SUFFIXES: .cpp
23
 
24
default: dep $(OUT)
25
 
26
.cpp.o:
27
	$(CCC) $(INCLUDES) $(CCFLAGS) -c $< -o $@
28
 
29
$(OUT): $(OBJ)
30
	ar rcs $(OUT) $(OBJ)
31
 
32
depend: dep
33
 
34
dep:
35
	makedepend -- $(CFLAGS) -- $(INCLUDES) $(SRC)
36
 
37
clean:
38
	rm -f $(OBJ) $(OUT) Makefile.bak 
39
# DO NOT DELETE
40
 
41
7Decoder.o: 7Decoder.h Types.h /usr/include/stdio.h /usr/include/sys/cdefs.h
42
7Decoder.o: /usr/include/sys/_null.h /usr/include/sys/_types.h
43
7Decoder.o: /usr/include/machine/_types.h LzmaDecode.h LzmaTypes.h
44
7Decoder.o: /usr/include/string.h /usr/include/strings.h
45
7Decoder.o: /usr/include/stdlib.h
46
LzmaDecode.o: LzmaDecode.h LzmaTypes.h /usr/include/string.h
47
LzmaDecode.o: /usr/include/sys/cdefs.h /usr/include/sys/_null.h
48
LzmaDecode.o: /usr/include/sys/_types.h /usr/include/machine/_types.h
49
LzmaDecode.o: /usr/include/strings.h /usr/include/stdio.h
50
LzmaDecode.o: /usr/include/stdlib.h