Unoffical C++ API for dict.cc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

24 lines
563 B

CC=g++
CFLAGS=-Wall -c -g
DICT_DIR=./dict
LFLAGS=-lcurl -lcurlpp -g -Wall
INST_FILE=/usr/local/bin/dictcc
TARGET=dictcc
dict : deen.o desv.o denl.o dict_imp.o dictcc.o all
deen.o :
$(CC) $(CFLAGS) $(DICT_DIR)/deen.cc
desv.o :
$(CC) $(CFLAGS) $(DICT_DIR)/desv.cc
denl.o :
$(CC) $(CFLAGS) $(DICT_DIR)/denl.cc
dict_imp.o :
$(CC) $(CFLAGS) $(DICT_DIR)/dict_imp.cc
dictcc.o :
$(CC) $(CFLAGS) dictcc.cc
all :
$(CC) dictcc.o deen.o desv.o denl.o dict_imp.o -o $(TARGET) $(LFLAGS)
install:
sudo ln -s $(PWD)/$(TARGET) $(INST_FILE)
clean :
rm *.o && rm $(TARGET)