glsl/Makefile: glcpp doesn't need libglsl.a.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 11 Feb 2011 00:37:56 +0000 (16:37 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 11 Feb 2011 01:37:01 +0000 (17:37 -0800)
Also, add a 'glcpp' target so you can type 'make glcpp' instead of
'make glcpp/glcpp'.

src/glsl/Makefile

index ec11c8a7bde674e9f1bf373f7e57091a9c3ef1e1..3c00d1fd1fb007cd46d76da16845edaed6eb992b 100644 (file)
@@ -152,7 +152,8 @@ install:
 glsl_compiler: $(GLSL2_OBJECTS) libglsl.a builtin_stubs.o
        $(APP_CXX) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $(GLSL2_OBJECTS) builtin_stubs.o $(LIBS) -o $@
 
-glcpp/glcpp: $(GLCPP_OBJECTS) libglsl.a
+glcpp: glcpp/glcpp
+glcpp/glcpp: $(GLCPP_OBJECTS)
        $(APP_CC) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $(GLCPP_OBJECTS) $(LIBS) -o $@
 
 .cpp.o: