#       Makefile gerado automaticamente pelo programa geomkmk.
#       Destina-se a modulos a serem ligados dinamicamente com o GeoLab.
#             projeto: geometry - DCC - Unicamp.



DLIB    = $(GEOLAB_HOME)/lib/
DOBJ    = obj/
CFLAGS  = -I$(GUIDEHOME)/include -I$(OPENWINHOME)/include -PIC
LDFLAGS = -L$(GUIDEHOME)/lib -L$(OPENWINHOME)/lib \
          -lm -ll -lguide -lguidexv 
CC = CC-3.0.1




OBJS=  \
		$(DOBJ)rotate.o


$(DLIB)rotate.so: $(OBJS)
	ld $(LDFLAGS) -assert pure-text -o $(DLIB)rotate.so  $(OBJS)

$(DOBJ)rotate.o: 	rotate.C \
			Algorithm.h \
			Coords2D.h \
			External.h \
			ExternalObj_id.h \
			Line2D.h \
			List.h \
			Obj.h \
			Point2D.h \
			Ray2D.h \
			String.h \
			World.h \
			attributes.h \
			basic.h \
			global.h \
			handle.h \
			line_settings.h \
			rotate.h \
			tools.h \
			utilities.h
	$(CC) $(CFLAGS) -c rotate.C -o $(DOBJ)rotate.o

clean: 
	$(RM) $(DOBJ)*.o core *~
