1 # Makefile for stand-alone GL-SL compiler
5 include $(TOP
)/configs
/current
13 ..
/..
/glapi
/glthread.o \
14 ..
/..
/main
/dispatch.o \
15 ..
/common
/driverfuncs.o \
20 -I
$(TOP
)/include/GL
/internal \
22 -I
$(TOP
)/src
/mesa
/main \
23 -I
$(TOP
)/src
/mesa
/glapi \
24 -I
$(TOP
)/src
/mesa
/math \
25 -I
$(TOP
)/src
/mesa
/transform \
26 -I
$(TOP
)/src
/mesa
/shader \
27 -I
$(TOP
)/src
/mesa
/swrast \
28 -I
$(TOP
)/src
/mesa
/swrast_setup \
32 $(INSTALL
) $(PROGRAM
) $(TOP
)/bin
35 glslcompiler
: $(OBJECTS
)
36 $(CC
) $(OBJECTS
) -lm
-lpthread
-o
$@
39 glslcompiler.o
: glslcompiler.c
40 $(CC
) -c
$(CFLAGS
) $(INCLUDES
) glslcompiler.c
-o
$@
44 rm -f
*.o
*~
$(PROGRAM
)