ifeq ($(disable_libiberty),no)
SOURCES += xmalloc.c
+ADDLIB =
+else
+ADDLIB = xmalloc.o
+
+xmalloc.o: xmalloc.c
+ $(COMPILE.c) -o $@ $<
endif
include $(topdir)/MakeRules
pset.o: set.c pset.h
$(COMPILE.c) -DPSET -o $@ $<
-all: subdir.o
+all: subdir.o $(ADDLIB)