1 # Makefile for core library for VMS 2 # contributed by Jouk Jansen joukj (a] hrem.nano.tudelft.nl 3 # Last revision : 3 October 2007 4 5 .first 6 define gl [---.include.gl] 7 define math [-.math] 8 define glapi [-.glapi] 9 define main [-.main] 10 11 .include [---]mms-config. 12 13 ##### MACROS ##### 14 15 VPATH = RCS 16 17 INCDIR = [---.include],[-.main],[-.glapi] 18 LIBDIR = [---.lib] 19 CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1)/name=(as_is,short)/float=ieee/ieee=denorm 20 21 SOURCES = m_debug_clip.c m_debug_norm.c m_debug_xform.c m_eval.c m_matrix.c\ 22 m_translate.c m_vector.c m_xform.c 23 24 OBJECTS = m_debug_clip.obj,m_debug_norm.obj,m_debug_xform.obj,m_eval.obj,\ 25 m_matrix.obj,m_translate.obj,m_vector.obj,m_xform.obj 26 27 ##### RULES ##### 28 29 VERSION=Mesa V3.4 30 31 ##### TARGETS ##### 32 # Make the library 33 $(LIBDIR)$(GL_LIB) : $(OBJECTS) 34 @ library $(LIBDIR)$(GL_LIB) $(OBJECTS) 35 36 clean : 37 purge 38 delete *.obj;* 39 40 m_debug_clip.obj : m_debug_clip.c 41 m_debug_norm.obj : m_debug_norm.c 42 m_debug_xform.obj : m_debug_xform.c 43 m_eval.obj : m_eval.c 44 m_matrix.obj : m_matrix.c 45 m_translate.obj : m_translate.c 46 m_vector.obj : m_vector.c 47 m_xform.obj : m_xform.c 48