Debian Codegraph @

lib/dbm/Makefile

raw
1 GPSSHOGI_HOME = ../..
2 include $(GPSSHOGI_HOME)/makefile.conf
3 -include $(GPSSHOGI_HOME)/makefile.local
4 -include makefile.local
5
6 CXXOPTFLAGS ?= -O
7 OTHERFLAGS = -pipe -Wall -g $(CPUOPTION)
8
9 CXXFLAGS = -DOSL_HOME=\"`pwd`/../..\" $(CXXOPTFLAGS) $(OTHERFLAGS) $(PROF) $(INCLUDES)
10 all : libgpsshogidbm.a
11
12 OBJS = doNothing.o
13 ifeq ($(USE_TOKYO_CABINET),1)
14 OBJS += tokyoCabinet.o
15 endif
16 SRCS = $(OBJS:.o=.cc)
17
18 -include $(patsubst %.cc,.deps/%.cc.d,$(SRCS))
19
20 libgpsshogidbm.a : $(OBJS)
21 $(ARC) $@ $(OBJS)
22 -$(RANLIB) $@
23
24 clean:
25 -rm -f core *.o $(OBJS) $(PROGNAME) nohup.out
26 -rm -rf .deps
27 distclean: clean
28 rm -f *~