#!smake
# The previous magic comment will cause the parallel make utility
#  'smake' to be used.
# ----------------------------------------------------------------------

# /usr/include/make/commondefs and /usr/include/make/commonrules
# define some useful Makefile rules.  For example, they
# defines a 'clean' target, so you can type 'make clean'
# to remove all .o files (or other files generated during
# compilation). See the file /usr/include/make/commonrules for
# documentation on what targets are supported.

include /usr/include/make/commondefs

TARGETS = colFil.so xdso.so Circle.so hotCol.so

LLDLIBS = 
C++FILES = $(PROGRAMS:=.c++)

default: $(TARGETS) 

include $(COMMONRULES)
	
xdso.so: xdso.c dsoEffectC.h dsoUtility.h
	cc -g -shared xdso.c -o xdso.so

colFil.so: colFil.c dsoEffectC.h dsoUtility.h
	CC -g -shared colFil.c -o colFil.so
	
Circle.so: Circle.c dsoEffectC.h dsoUtility.h
	CC -g -shared Circle.c -o Circle.so -woff 3262
	
hotCol.so: hotCol.c hot.o dsoEffectC.h dsoUtility.h
	cc -g -shared hotCol.c hot.o -o hotCol.so
	
hot.o: hot.c
	cc -c hot.c -o hot.o
