1 |
root |
1.1 |
LIBRARY = libGiST.a |
2 |
|
|
|
3 |
|
|
SRCS = GiSTnode.cpp GiST.cpp GiSTfile.cpp GiSTpredicate.cpp GiSTcursor.cpp |
4 |
|
|
|
5 |
|
|
OBJS = $(SRCS:.cpp=.o) |
6 |
|
|
|
7 |
|
|
DEST = . |
8 |
|
|
|
9 |
root |
1.2 |
CPP = $(CXX) -fpic |
10 |
root |
1.1 |
|
11 |
|
|
DEFINES = -DUNIX |
12 |
|
|
|
13 |
|
|
INCS = |
14 |
|
|
|
15 |
root |
1.2 |
LINKER = $(LD) |
16 |
root |
1.1 |
|
17 |
|
|
LDFLAGS = #-L/home/users/patella/pub/libg++-2.7.1/ |
18 |
|
|
|
19 |
|
|
%.o: %.cpp |
20 |
root |
1.2 |
$(CPP) -c $(CFLAGS) $(OPTIMIZE) $(DEFINES) $(INCS) $*.cpp |
21 |
root |
1.1 |
|
22 |
root |
1.3 |
$(LIBRARY): $(OBJS) |
23 |
root |
1.1 |
rm -f $(LIBRARY) |
24 |
|
|
ar r $(LIBRARY) $(OBJS) |
25 |
|
|
ranlib $(LIBRARY) |
26 |
|
|
|
27 |
|
|
clean: |
28 |
root |
1.3 |
rm -f $(OBJS) $(LIBRARY) *~ #*# *pure* |
29 |
root |
1.1 |
|
30 |
|
|
depend: |
31 |
root |
1.3 |
makedepend -Y $(DEFINES) $(INCS) $(SRCS) |
32 |
root |
1.1 |
|
33 |
|
|
install: $(PROGRAM) |
34 |
|
|
echo Installing $(PROGRAM) in $(DEST) |
35 |
|
|
install -s $(PROGRAM) $(DEST) |
36 |
|
|
|
37 |
|
|
# DO NOT DELETE |
38 |
|
|
|
39 |
root |
1.3 |
GiSTnode.o: GiST.h GiSTdefs.h GiSTentry.h GiSTpredicate.h GiSTlist.h |
40 |
|
|
GiSTnode.o: GiSTnode.h GiSTpath.h GiSTstore.h GiSTcursor.h |
41 |
|
|
GiST.o: GiST.h GiSTdefs.h GiSTentry.h GiSTpredicate.h GiSTlist.h GiSTnode.h |
42 |
|
|
GiST.o: GiSTpath.h GiSTstore.h GiSTcursor.h |
43 |
|
|
GiSTfile.o: GiSTfile.h GiSTstore.h GiSTdefs.h |
44 |
|
|
GiSTpredicate.o: GiST.h GiSTdefs.h GiSTentry.h GiSTpredicate.h GiSTlist.h |
45 |
|
|
GiSTpredicate.o: GiSTnode.h GiSTpath.h GiSTstore.h GiSTcursor.h |
46 |
|
|
GiSTcursor.o: GiST.h GiSTdefs.h GiSTentry.h GiSTpredicate.h GiSTlist.h |
47 |
|
|
GiSTcursor.o: GiSTnode.h GiSTpath.h GiSTstore.h GiSTcursor.h |