-
Benoit Favre authoredBenoit Favre authored
Makefile 848 B
# Makefile
#
CC=g++
CPPFLAGS+= -I. -lfst -I/storage/raid1/homedirs/frederic.bechet/tools/openfst-1.3.3/src/include -L/storage/raid1/homedirs/frederic.bechet/tools/openfst-1.3.3/src/lib/.libs -ldl -std=c++0x -g -Wall
all: rocio_slu process_xml_for_slu produce_action_string_fst
librocio_slu.so: librocio_slu.cc lia_liblex.o
$(CC) $(CPPFLAGS) -shared -o $@ -fPIC librocio_slu.cc lia_liblex.o
rocio_slu: rocio_slu.cc librocio_slu.so
$(CC) $(CPPFLAGS) -o rocio_slu rocio_slu.cc lia_liblex.o -L. -lrocio_slu
lia_liblex.o: lia_liblex.c
gcc -c lia_liblex.c -g -Wall -fPIC
process_xml_for_slu: process_xml_for_slu.c
gcc -o process_xml_for_slu process_xml_for_slu.c
produce_action_string_fst: produce_action_string_fst.c
gcc -o produce_action_string_fst produce_action_string_fst.c
clean:
rm -f process_xml_for_slu rocio_slu *.o *.so *.d