summaryrefslogtreecommitdiff
path: root/progs/tests/Makefile.X11
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-11-23 10:27:10 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-11-23 10:27:10 +0000
commit8525fae3b8276441883604a1ced32a46b85d5adf (patch)
treee7addee39248f4891d312a7414c34602e541ce22 /progs/tests/Makefile.X11
parent67f8a1d4ad5c6f94067ef9a621b513fe8f708c72 (diff)
build fixes, rh9
Diffstat (limited to 'progs/tests/Makefile.X11')
-rw-r--r--progs/tests/Makefile.X117
1 files changed, 4 insertions, 3 deletions
diff --git a/progs/tests/Makefile.X11 b/progs/tests/Makefile.X11
index f568c342c9..b65f0e427d 100644
--- a/progs/tests/Makefile.X11
+++ b/progs/tests/Makefile.X11
@@ -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