diff options
author | Brian <[email protected]> | 2007-02-17 09:15:39 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-02-17 09:15:39 -0700 |
commit | cc153541a2cd83ef7249a0173da4a381b099e0e4 (patch) | |
tree | d0cac879a880d0cc3dc93cb5588dec27107a1293 /src/mesa/drivers/glslcompiler/Makefile | |
parent | 501ee87180047dd04afc69103c31e1eae5374bf1 (diff) |
stand-alone GLSL compiler
Diffstat (limited to 'src/mesa/drivers/glslcompiler/Makefile')
-rw-r--r-- | src/mesa/drivers/glslcompiler/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/mesa/drivers/glslcompiler/Makefile b/src/mesa/drivers/glslcompiler/Makefile new file mode 100644 index 00000000000..858457ddd40 --- /dev/null +++ b/src/mesa/drivers/glslcompiler/Makefile @@ -0,0 +1,44 @@ +# Makefile for stand-alone GL-SL compiler + +TOP = ../../../.. + +include $(TOP)/configs/current + + +PROGRAM = glslcompiler + +OBJECTS = \ + glslcompiler.o \ + ../../glapi/glapi.o \ + ../../glapi/glthread.o \ + ../../main/dispatch.o \ + ../common/driverfuncs.o \ + ../../libmesa.a + +INCLUDES = \ + -I$(TOP)/include \ + -I$(TOP)/include/GL/internal \ + -I$(TOP)/src/mesa \ + -I$(TOP)/src/mesa/main \ + -I$(TOP)/src/mesa/glapi \ + -I$(TOP)/src/mesa/math \ + -I$(TOP)/src/mesa/transform \ + -I$(TOP)/src/mesa/shader \ + -I$(TOP)/src/mesa/swrast \ + -I$(TOP)/src/mesa/swrast_setup \ + + +default: $(PROGRAM) + $(INSTALL) $(PROGRAM) $(TOP)/bin + + +glslcompiler: $(OBJECTS) + $(CC) $(OBJECTS) -lm -lpthread -o $@ + + +glslcompiler.o: glslcompiler.c + $(CC) -c $(CFLAGS) $(INCLUDES) glslcompiler.c -o $@ + + +clean: + rm -f *.o *~ $(PROGRAM) |