# Uncomment one of these LIBS lines.  The default is to compile without
# Electric Fence since it hurts performance so much.
#LIBS	= -L../ -ldict -lefence -L/usr/local/lib
LIBS	= -L../ -ldict 

CWARN 	= -Wall
# LD_DEBUGCACHE
# Use -DLD_DEBUGCACHE if you want to access the cache's statistics.  
# libdict must be compiled with LD_DEBUGCACHE too.
CFLAGS	= -g -I../include -I/usr/local/include
CC		= cc

all: dictcli 
#cpptest

dictcli: dictcli.c
	cc -o dictcli dictcli.c ${LIBS} ${CFLAGS} ${CWARN} ${LDFLAGS}
#cpptest: cpptest.cpp
	c++ -o cpptest cpptest.cpp ${LIBS} ${CFLAGS} ${CWARN} ${LDFLAGS}
clean:
	rm -f *.o dictcli cpptest *.core
