Mon, 17 Feb 2003 23:24:47 +0100
trunk: changeset 46
UNLINK_ITEM fixed to reset next/previous pointers to NULL
## ## Some make rules ## ###################################### ifdef SUBDIRS all: subdirs $(TARGETS) clean: subdirs-clean _clean realclean: subdirs-realclean _realclean depend: subdirs-depend _depend else all: $(TARGETS) clean: _clean realclean: _realclean depend: _depend endif ifdef INSTALL_SUBDIRS install: subdirs-install _install else install: _install endif ###################################### .c.o: $(CC) $(CFLAGS) -c $< -o $@ ifdef OBJS _clean: rm -f core $(DEPEND_FILE) $(OBJS) _depend: $(MAKE_DEPEND) *.c else _clean: _depend: endif _realclean: _clean rm -f $(TARGETS) ###################################### subdirs: set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i; done subdirs-depend: set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i depend; done subdirs-clean: set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i clean; done subdirs-realclean: set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i realclean; done subdirs-install: set -e; for i in $(INSTALL_SUBDIRS); do $(MAKE) -C $$i install; done ###################################### ifeq ($(DEPEND_FILE),$(wildcard $(DEPEND_FILE))) include $(DEPEND_FILE) endif