Fixed bizarre MSVC 6 bug by making template functons in a class.
[pwlib.git] / make / plugins.mak
blobb8f09027322a447d26797fc7a6cd532c2141e48e
1 include ../../make/unix.mak
3 PLUGIN_FILENAME = $(PLUGIN_NAME)_pwplugin.$(LIB_SUFFIX)
5 OBJDIR = ../pwlib/$(PLUGIN_FAMILY)
7 TARGET = $(OBJDIR)/$(PLUGIN_FILENAME)
9 $(OBJDIR)/$(PLUGIN_FILENAME): $(PLUGIN_SOURCES)
10 mkdir -p $(OBJDIR)
11 $(CPLUS) $(CFLAGS) $(STDCCFLAGS) \
12 $(PLUGIN_LIBS) \
13 -I. -shared $< -o $@
16 include ../../make/common.mak