@@ -4,8 +4,9 @@ | |||
# distro. They're not too interesting but they're good for testing. | |||
TOP = ../.. | |||
LIBDIR = $(TOP)/lib | |||
LIBS = $(APP_LIB_DEPS) | |||
LIBS = -L$(LIBDIR) $(APP_LIB_DEPS) | |||
SOURCES = antialias.c \ | |||
bufferobj.c \ | |||
@@ -74,10 +75,10 @@ texrect: texrect.o readtex.o | |||
$(CC) texrect.o readtex.o $(LIBS) -o $@ | |||
texrect.o: texrect.c readtex.h | |||
$(CC) -c $(CFLAGS) $< -o $@ | |||
$(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ | |||
readtex.o: readtex.c | |||
$(CC) -c $(CFLAGS) $< -o $@ | |||
$(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ | |||
readtex.h: $(TOP)/progs/util/readtex.h |
@@ -1,4 +1,4 @@ | |||
/* $Id: cva.c,v 1.5 2003/01/28 15:31:35 brianp Exp $ */ | |||
/* $Id: cva.c,v 1.6 2003/11/23 10:27:10 keithw Exp $ */ | |||
/* | |||
* Trivial CVA test, good for testing driver fastpaths (especially | |||
@@ -11,6 +11,7 @@ | |||
#include <stdlib.h> | |||
#include <stdio.h> | |||
#include <string.h> | |||
#include <malloc.h> /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */ | |||
#ifdef _WIN32 | |||
#include <windows.h> | |||
#endif |
@@ -38,6 +38,7 @@ | |||
#include <stdlib.h> | |||
#include <string.h> | |||
#include <math.h> /* for cos(), sin(), and sqrt() */ | |||
#include <malloc.h> /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */ | |||
#ifdef _WIN32 | |||
#include <windows.h> | |||
#endif |
@@ -8,7 +8,7 @@ | |||
#define GL_GLEXT_PROTOTYPES | |||
#include <GL/glut.h> | |||
#include "readtex.c" | |||
#include "../util/readtex.c" | |||
#define TEXTURE_FILE "../images/girl.rgb" |
@@ -1,4 +1,4 @@ | |||
/* $Id: multipal.c,v 1.4 2002/10/18 17:47:36 kschultz Exp $ */ | |||
/* $Id: multipal.c,v 1.5 2003/11/23 10:27:10 keithw Exp $ */ | |||
/* | |||
* Test multitexture and paletted textures. | |||
@@ -9,6 +9,7 @@ | |||
#include <stdio.h> | |||
#include <stdlib.h> | |||
#include <string.h> | |||
#include <malloc.h> /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */ | |||
#ifdef _WIN32 | |||
#include <windows.h> | |||
#endif |