view src/rovascope/Makefile @ 894:f19e6748d8eb trunk

[svn] maintenance of build system: - link for OBJECTIVE_LIBS had not occurred even if OBJECTIVE_LIBS_NOINST was re-linked. LIBDEP macro is introduced to indicate dependency. - make rules such as $(AR) cq $@ $(OBJECTS) in individual Makefile have been removed. these linkage will be done through objective.mk. - *.h has been removed from SOURCES. these files had been passed to linker as object files.
author yaz
date Sat, 24 Mar 2007 09:08:58 -0700
parents 550c9e382cf8
children f305ebcc8136
line wrap: on
line source

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

OBJECTIVE_LIBS = librovascope$(SHARED_SUFFIX)

SUBDIRS = libcalc

LIBDIR = $(plugindir)/$(VISUALIZATION_PLUGIN_DIR)

LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(XML_LIBS) $(SDL_LIBS) libcalc/libcalc.a

SOURCES =			\
	actuators.c		\
	actuatorbin.c		\
	beatdetect.c		\
	builtins.c		\
	cmaps.c			\
	containers.c		\
	drawing.c		\
	freq.c			\
	general.c		\
	misc.c			\
	paranormal.c		\
	plugin.c		\
	wave.c			\
	xform.c

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

LIBDEP = libcalc/libcalc.a

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

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