CFLAGS = -O
CXXFLAGS = -O
GLU_CFLAGS =
+
+# Misc tools and flags
MKLIB_OPTIONS =
+MKDEP = makedepend
+MKDEP_OPTIONS = -Y -fdepend
# Library names (base name)
depend: $(SOURCES)
touch depend
- makedepend -fdepend -Y -I$(TOP)/include $(SOURCES)
+ $(MKDEP) $(MKDEP_OPTIONS) -I$(TOP)/include $(SOURCES)
include depend
# 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