1# Makefile for core library for VMS
2# contributed by Jouk Jansen  joukj@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
15VPATH = RCS
16
17INCDIR = [---.include],[-.main],[-.glapi]
18LIBDIR = [---.lib]
19CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1)/name=(as_is,short)/float=ieee/ieee=denorm
20
21SOURCES = 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
24OBJECTS = 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
29VERSION=Mesa V3.4
30
31##### TARGETS #####
32# Make the library
33$(LIBDIR)$(GL_LIB) : $(OBJECTS)
34  @ library $(LIBDIR)$(GL_LIB) $(OBJECTS)
35
36clean :
37	purge
38	delete *.obj;*
39
40m_debug_clip.obj : m_debug_clip.c
41m_debug_norm.obj : m_debug_norm.c
42m_debug_xform.obj : m_debug_xform.c
43m_eval.obj : m_eval.c
44m_matrix.obj : m_matrix.c
45m_translate.obj : m_translate.c
46m_vector.obj : m_vector.c
47m_xform.obj : m_xform.c
48