include ../../../mk/rules.mk
include ../../../mk/init.mk

OBJECTIVE_LIBS_NOINST = libcalc.a

LIBDIR = $(plugindir)/$(VISUALIZATION_PLUGIN_DIR)

LIBADD = $(GTK_LIBS) $(XML_LIBS) $(SDL_LIBS)

SOURCES = dict.c  execute.c  function.c  parser.c  storage.c

OBJECTS = ${SOURCES:.c=.o}

CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(ARCH_DEFINES) $(XML_CPPFLAGS) $(SDL_CFLAGS) -I../../intl -I../..

include ../../../mk/objective.mk

libcalc.a: $(OBJECTS)
	$(AR) cq $@ $(OBJECTS)
