summaryrefslogtreecommitdiff
path: root/src/mesa/x86/Makefile
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-07-01 01:54:38 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-07-01 01:54:38 +0000
commit6d3284efd4fcead463b69dc854258a8f32689536 (patch)
treec9e85b939c835beda4610ccffe14380bd18ea688 /src/mesa/x86/Makefile
parent58a9573b08d6201c4dc75a7378471296ffb4700e (diff)
fix dependencies
Diffstat (limited to 'src/mesa/x86/Makefile')
-rw-r--r--src/mesa/x86/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/x86/Makefile b/src/mesa/x86/Makefile
index 0b15357c57..3c6a6b11c0 100644
--- a/src/mesa/x86/Makefile
+++ b/src/mesa/x86/Makefile
@@ -1,11 +1,9 @@
# src/mesa/x86/Makefile
TOP = ../../..
-
include $(TOP)/configs/current
-
INCLUDE_DIRS = \
-I$(TOP)/include/GL \
-I$(TOP)/include \
@@ -16,15 +14,17 @@ INCLUDE_DIRS = \
-I../tnl
-default: matypes.h
+default: gen_matypes matypes.h
clean:
rm -f matypes.h gen_matypes
-# need some special rules here, unfortunately
-matypes.h: ../main/mtypes.h ../tnl/t_context.h gen_matypes.c
+gen_matypes: gen_matypes.c
$(CC) $(INCLUDE_DIRS) $(CFLAGS) gen_matypes.c -o gen_matypes
+
+# need some special rules here, unfortunately
+matypes.h: ../main/mtypes.h ../tnl/t_context.h gen_matypes
./gen_matypes > matypes.h
common_x86_asm.o: matypes.h