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
16 INCDIRS = -I../include -I/usr/include/Motif1.2 -I/usr/X11R6/include
19 # Compile GLwMDrawA.c only if you have Motif headers!
20 #SOURCES = GLwDrawA.c GLwMDrawA.c
24 OBJECTS = $(SOURCES:.c=.o)
31 $(CC) -c $(INCDIRS) $(CFLAGS) $<
38 @echo "Specify a target configuration"
43 targets: $(LIBDIR)/$(GLW_LIB) message
47 $(LIBDIR)/$(GLW_LIB): $(OBJECTS)
48 $(MAKELIB) $(GLW_LIB) $(MAJOR) $(MINOR) $(TINY) $(OBJECTS)
49 mv $(GLW_LIB)* $(LIBDIR)
55 @echo "************************************************************************"
56 @echo "*** Edit widgets-sgi/Makefile.X11 to enable Motif support, if needed ***"
57 @echo "************************************************************************"
61 include ../Make-config
68 # Run 'make depend' to update the dependencies if you change what's included
72 makedepend -fdepend -Y -I../include $(SOURCES)