GLU_MINOR = 3
GLU_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$(MESA_TINY)
+GLU_LIB_NAME = "GLU" # may be overridden in Make-config
+
VPATH = RCS
-TOP = ..
+TOP = ../../..
INCDIRS = -I$(TOP)/include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess
LIBDIR = $(TOP)/lib
@echo "Specify a target configuration"
clean:
- -rm *.o */*.o */*/*.o
- -rm *.lo */*.lo */*/*.lo
- -rm *.la */*.la */*/*.la
+ -rm -f *.o */*.o */*/*.o
+ -rm -f *.lo */*.lo */*/*.lo
+ -rm -f *.la */*.la */*/*.la
targets: $(LIBDIR)/$(GLU_LIB)
# Make the library:
$(LIBDIR)/$(GLU_LIB): $(OBJECTS)
- $(TOP)/bin/mklib -o GLU -major $(GLU_MAJOR) -minor $(GLU_MINOR) \
- -patch $(GLU_TINY) $(GLU_LIB_DEPS) -cplusplus \
- -install $(LIBDIR) $(OBJECTS)
+ $(TOP)/bin/mklib -o $(GLU_LIB_NAME) -major $(GLU_MAJOR) \
+ -minor $(GLU_MINOR) -patch $(GLU_TINY) \
+ $(GLU_LIB_DEPS) -cplusplus -install $(LIBDIR) \
+ $(MKLIB_OPTIONS) $(OBJECTS)