fix dependencies
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user