mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
use new MKDEP, MKDEP_OPTIONS variables
This commit is contained in:
parent
216aedbbc6
commit
9f4ccd8aa0
3 changed files with 6 additions and 2 deletions
|
|
@ -17,7 +17,11 @@ CXX = CC
|
|||
CFLAGS = -O
|
||||
CXXFLAGS = -O
|
||||
GLU_CFLAGS =
|
||||
|
||||
# Misc tools and flags
|
||||
MKLIB_OPTIONS =
|
||||
MKDEP = makedepend
|
||||
MKDEP_OPTIONS = -Y -fdepend
|
||||
|
||||
|
||||
# Library names (base name)
|
||||
|
|
|
|||
|
|
@ -106,6 +106,6 @@ clean:
|
|||
|
||||
depend: $(SOURCES)
|
||||
touch depend
|
||||
makedepend -fdepend -Y -I$(TOP)/include $(SOURCES)
|
||||
$(MKDEP) $(MKDEP_OPTIONS) -I$(TOP)/include $(SOURCES)
|
||||
|
||||
include depend
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ SUBDIRS = array_cache drivers/dri glapi main math sparc swrast swrast_setup \
|
|||
# Update dependencies
|
||||
depend: $(ALL_SOURCES)
|
||||
touch depend
|
||||
makedepend -fdepend -Y $(INCLUDE_DIRS) $(ALL_SOURCES) >& /dev/null
|
||||
$(MKDEP) $(MKDEP_OPTIONS) $(INCLUDE_DIRS) $(ALL_SOURCES) >& /dev/null
|
||||
|
||||
|
||||
# Emacs tags
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue