1 # Makefile for OpenGL widgets
3 # NOTE: widget code is from SGI. See any of the .c or .h files for the
4 # complete copyright. Mesa's GNU copyright DOES NOT apply to this widget
12 INCDIRS
= -I..
/include -I
/usr
/include/Motif1.2
-I
/usr
/X11R6
/include
15 SOURCES
= GLwDrawA.c GLwMDrawA.c
18 OBJECTS
= $(SOURCES
:.c
=.o
)
25 $(CC
) -c
$(INCDIRS
) $(CFLAGS
) $<
32 @echo
"Specify a target configuration"
37 # The name of the library file comes from Make-config
38 #XXX GLW_LIB = libGLw.a
40 targets
: $(LIBDIR
)/$(GLW_LIB
)
44 $(LIBDIR
)/$(GLW_LIB
): $(OBJECTS
)
45 $(MAKELIB
) $(GLW_LIB
) $(MAJOR
) $(MINOR
) $(OBJECTS
)
46 mv
$(GLW_LIB
)* $(LIBDIR
)
48 include ..
/Make-config
55 # Run 'make depend' to update the dependencies if you change what's included
59 makedepend
-fdepend
-Y
-I..
/include $(SOURCES
)