view src/paranormal/libcalc/Makefile @ 282:3e160f6c04d2 trunk

[svn] - add libcalc from xvs and link to build
author nenolod
date Mon, 20 Nov 2006 13:26:09 -0800
parents
children f19e6748d8eb
line wrap: on
line source

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)