mesa: updated comment
[mesa.git] / progs / slang / Makefile
index 90debd186afcde409f6b92e0a9332cf096c6be39..1c602ce49c510f897411b39938bd380698b63a81 100644 (file)
@@ -6,7 +6,7 @@ include $(TOP)/configs/current
 
 INCDIR = $(TOP)/include
 
-LIB_DEP = $(LIB_DIR)/$(GL_LIB_NAME)
+LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME)
 
 #
 # targets
@@ -41,27 +41,15 @@ vstest: vstest.o framework.o $(LIB_DEP)
 # objects
 #
 
-framework.o: framework.c
+framework.o: framework.c framework.h
        $(CC) -c -I$(INCDIR) framework.c -o framework.o
 
-cltest.o: cltest.c
+cltest.o: cltest.c framework.h
        $(CC) -c -I$(INCDIR) cltest.c -o cltest.o
 
-sotest.o: sotest.c
+sotest.o: sotest.c framework.h
        $(CC) -c -I$(INCDIR) sotest.c -o sotest.o
 
-vstest.o: vstest.c
+vstest.o: vstest.c framework.h
        $(CC) -c -I$(INCDIR) vstest.c -o vstest.o
 
-#
-# sources
-#
-
-framework.c: framework.h
-
-cltest.c: framework.h
-
-sotest.c: framework.h
-
-vstest.c: framework.h
-