# See the Open Render instalation guide for more help.
#OBJ=orwbTrick.o orwbOutput.o BrowMask.o ToonMap.o edge_out.o global.o toon.o 
OBJ=orLabel.plugin orLabel2.plugin

all: $(OBJ) ./pix 

# Use the following rule for your compile if you are on an
# IRIX 5 SGI Machine with an R4000 series cpu. For
# Alias Version 5.0.1, this rule should only be used if you are
# compiling this Open Render modules for the PowerCaster or
# PowerTracer. Alias Version 6.0 should be using this rule almost all
# the time.
.c.o:
	cc -c -G 0 -mips2 -g -DWB -I. -I./include -Isource -I$(ALIAS_LOCATION)/ODS/OpenRender/include $*.c -o $*.o

orLabel.plugin: orLabel.o
	ld -shared orLabel.o -o  orLabel.plugin
orLabel2.plugin: orLabel2.o
	ld -shared orLabel2.o -o  orLabel2.plugin

# Use the following rule for your compile if you are on an
# IRIX 4 SGI Machine with an R4000 series cpu. Note, the above rule is the
# default, you will have to comment or delete that rule, and uncomment
# this rule.
#.c.o:
#	cc -c -G 0 -mips2 -I. -I.. -I$(ALIAS_LOCATION)/include $*.c -o _$*.o
#	ld -G 0 -r _$*.o -lm_G0 -o $@
#	rm -f _$*.o

# Use the following rule for your compile if you are on an
# IRIX 4 SGI Machine with an R3000 series cpu.  Note, the first rule above is the
# default, you will have to comment or delete that rule, and uncomment
# this rule. 
#.c.o: 
#	cc -c -G 0 -I. -I.. -I$(ALIAS_LOCATION)/include $*.c -o _$*.o
#	ld -G 0 -r _$*.o -lm_G0 -o $@
#	rm -f _$*.o

# Use the following rule for your compile if you are on an
# IRIX 5 SGI Machine with an R3000 series cpu. Note, the first rule
# above is the default, you will have to comment or delete that rule,
# and uncomment this rule.
#.c.o:
#	cc -c -G 0 -I. -I.. -I$(ALIAS_LOCATION)/include $*.c -o _$*.o
#	ld -shared _$*.o -o $@
#	rm -f _$*.o


# Use the following rule for your compile if you are on an
# IBM Machine. Note, the first rule above is the default, you
# will have to comment or delete that rule, and uncomment
# this rule.
#.c.o:
#	cc -c -I. -I.. -I$(ALIAS_LOCATION)/include $*.c -o _$*.o
#	ld -bI:ocr.import -lc -lm -K _$*.o -bl:load.map 	-bR:rmap -o $@
#	rm -f _$*.o

./pix:
	mkdir ./pix

clean:
	rm -f $(OBJ)

