diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-06-10 14:54:37 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-06-10 14:54:37 +0000 |
commit | 9a2121cfb66ac715273dd1fcc5eadc17ee05a73e (patch) | |
tree | 21e50532992e8d5a7b2efed4fb2e210e4df7bc07 /progs/tests/Makefile | |
parent | cd0fbde699cd61cb037d887f601fe33d97e69ce6 (diff) |
update for new directory tree
Diffstat (limited to 'progs/tests/Makefile')
-rw-r--r-- | progs/tests/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/progs/tests/Makefile b/progs/tests/Makefile index 1ab2df91c8..be6c667253 100644 --- a/progs/tests/Makefile +++ b/progs/tests/Makefile @@ -3,10 +3,11 @@ # These programs aren't intended to be included with the normal # distro. They're not too interesting but they're good for testing. +TOP = ../../ CC = gcc -CFLAGS = -g -I../include -LIBS = -L../lib -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXext -lm +CFLAGS = -g -I$(TOP)/include +LIBS = -L$(TOP)/lib -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXext -lm PROGS = antialias \ cva \ @@ -42,7 +43,7 @@ PROGS = antialias \ $(CC) $(CFLAGS) $< $(LIBS) -o $@ .c.o: - $(CC) -c -I. -I../include $(CFLAGS) $< -o $@ + $(CC) -c -I. -I$(TOP)/include $(CFLAGS) $< -o $@ ##### TARGETS ##### @@ -57,7 +58,7 @@ clean: # auto code generation getprocaddress: getprocaddress.c getproclist.h -getproclist.h: ../bin/APIspec getprocaddress.c getprocaddress.py +getproclist.h: $(TOP)/src/mesa/glapi/APIspec getprocaddress.c getprocaddress.py python getprocaddress.py > getproclist.h @@ -71,8 +72,8 @@ readtex.o: readtex.c $(CC) -c $(CFLAGS) $< -o $@ -readtex.h: ../util/readtex.h - ln -s ../util/readtex.h . +readtex.h: $(TOP)/progs/util/readtex.h + ln -s $(TOP)/progs/util/readtex.h . -readtex.c: ../util/readtex.c - ln -s ../util/readtex.c . +readtex.c: $(TOP)/progs/util/readtex.c + ln -s $(TOP)/progs/util/readtex.c . |