# Desc: Example plugin makefile
# CVS: $Id$

all: libexampledriver.dylib

%.o: %.cc
	$(CXX) `pkg-config --cflags playercore` -Wall -g3 -dynamiclib -c $<

libexampledriver.dylib: exampledriver.o
	$(CXX) -bundle -flat_namespace -undefined suppress -o $@ $^

clean:
	rm -f *.o *.dylib
