use new MKDEP, MKDEP_OPTIONS variables

This commit is contained in:
Brian Paul 2004-04-07 23:15:26 +00:00
parent 216aedbbc6
commit 9f4ccd8aa0
3 changed files with 6 additions and 2 deletions

View file

@ -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)

View file

@ -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

View file

@ -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