view src/sap/Makefile @ 145:7804476ba85a trunk

[svn] - C++ files -> .cxx - build saplib inline - remove version.h and chase removal issues
author nenolod
date Mon, 30 Oct 2006 17:47:41 -0800
parents c0b31cf2c7cd
children a3391ce27d3e
line wrap: on
line source

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

OBJECTIVE_LIBS = libsapplug$(SHARED_SUFFIX)

SAPLIB = saplib/pokey0.cxx saplib/pokey1.cxx saplib/sapCpu.cxx saplib/sapEngine.cxx saplib/sapPokey.cxx

TARGET = libsapplug.so

LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR) $(SAPLIB)

LIBADD += $(GTK_LIBS)

SOURCES = fileinfo.c sapfile.c sap_plug.c

CFLAGS   += $(GTK_CFLAGS) $(PICFLAGS) -I../../intl -I../..
CXXFLAGS += $(GTK_CFLAGS) $(PICFLAGS) -I../../intl -I../..

OBJECTS = ${SOURCES:.c=.o} $(SAPLIB:.cxx=.o)

all:

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