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 tnl [-.tnl] 9 define vbo [-.vbo] 10 define swrast [-.swrast] 11 define array_cache [-.array_cache] 12 define glapi [-.glapi] 13 define main [-.main] 14 15 .include [---]mms-config. 16 17 ##### MACROS ##### 18 19 VPATH = RCS 20 21 INCDIR = [---.include],[-.main],[-.glapi] 22 LIBDIR = [---.lib] 23 CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1)/name=(as_is,short)/float=ieee/ieee=denorm 24 25 SOURCES = ss_context.c ss_triangle.c 26 27 OBJECTS = ss_context.obj,ss_triangle.obj 28 ##### RULES ##### 29 30 VERSION=Mesa V3.4 31 32 ##### TARGETS ##### 33 # Make the library 34 $(LIBDIR)$(GL_LIB) : $(OBJECTS) 35 @ library $(LIBDIR)$(GL_LIB) $(OBJECTS) 36 37 clean : 38 purge 39 delete *.obj;* 40 41 ss_context.obj : ss_context.c 42 ss_triangle.obj : ss_triangle.c 43