intel: Silence compiler format warnings.
[mesa.git] / src / mesa / drivers / glslcompiler / Makefile
1 # Makefile for stand-alone GL-SL compiler
2
3 TOP = ../../../..
4
5 include $(TOP)/configs/current
6
7
8 PROGRAM = glslcompiler
9
10 OBJECTS = \
11 glslcompiler.o \
12 ../../glapi/glapi.o \
13 ../../glapi/glapi_nop.o \
14 ../../glapi/glthread.o \
15 ../../main/dispatch.o \
16 ../common/driverfuncs.o \
17 ../../libmesa.a
18
19 INCLUDES = \
20 -I$(TOP)/include \
21 -I$(TOP)/include/GL/internal \
22 -I$(TOP)/src/mesa \
23 -I$(TOP)/src/mesa/main \
24 -I$(TOP)/src/mesa/glapi \
25 -I$(TOP)/src/mesa/math \
26 -I$(TOP)/src/mesa/transform \
27 -I$(TOP)/src/mesa/shader \
28 -I$(TOP)/src/mesa/swrast \
29 -I$(TOP)/src/mesa/swrast_setup \
30
31
32 default: $(PROGRAM)
33 $(INSTALL) $(PROGRAM) $(TOP)/bin
34
35
36 glslcompiler: $(OBJECTS)
37 $(CC) $(OBJECTS) $(GL_LIB_DEPS) -o $@
38
39
40 glslcompiler.o: glslcompiler.c
41 $(CC) -c $(INCLUDES) $(CFLAGS) glslcompiler.c -o $@
42
43
44 clean:
45 -rm -f *.o *~ $(PROGRAM)