system-inc.mk

Mon, 17 Nov 2003 22:04:25 +0100

author
tuomov
date
Mon, 17 Nov 2003 22:04:25 +0100
changeset 56
af2c6d224f9d
parent 45
73f7a32eb601
permissions
-rw-r--r--

trunk: changeset 60
Check that PREV!=NULL when unlinking item from a list. (PREV must
point to something if on list.)

# Use system-ac.mk if it exist, system.mk otherwise.

ifndef TOPDIR
  TOPDIR=.
endif

ifeq ($(TOPDIR)/system-ac.mk,$(wildcard $(TOPDIR)/system-ac.mk))
  # Using system-ac.mk
  include $(TOPDIR)/system-ac.mk
else
  # Not using system-ac.mk
  include $(TOPDIR)/system.mk
endif

mercurial