diff options
author | Brian Paul <[email protected]> | 2009-10-16 09:25:05 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-16 13:07:43 -0600 |
commit | db2046580f3b5be0e9fe30337f3bf412c4556ed9 (patch) | |
tree | 38de49359da22e9ece41b658cb29de3e40bb3cda /src/mesa/drivers/dri/r300 | |
parent | d9fd207133ba2ff8cd0bbcab6963c70d71628b1b (diff) |
mesa: use EXTRA_MODULES and SUBDIRS to build r300 compiler
This is a bit cleaner and avoids rebuilding the r300_dri.so library all
the time.
Diffstat (limited to 'src/mesa/drivers/dri/r300')
-rw-r--r-- | src/mesa/drivers/dri/r300/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/r300/Makefile b/src/mesa/drivers/dri/r300/Makefile index c64f940623f..0e5b29b6850 100644 --- a/src/mesa/drivers/dri/r300/Makefile +++ b/src/mesa/drivers/dri/r300/Makefile @@ -69,7 +69,10 @@ DRIVER_DEFINES = -DRADEON_R300 DRI_LIB_DEPS += $(RADEON_LDFLAGS) -PIPE_DRIVERS = compiler/libr300compiler.a +SUBDIRS = compiler + +EXTRA_MODULES = compiler/libr300compiler.a + ##### TARGETS ##### @@ -77,8 +80,3 @@ include ../Makefile.template symlinks: -# Mark the archive phony so that we always check for recompilation -.PHONY : compiler/libr300compiler.a - -compiler/libr300compiler.a: - cd compiler && $(MAKE) |