1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
ifeq ($(SRCDIR)x,x) SRCDIR = $(CURDIR)/.. BUILDDIR = $(SRCDIR) endif SUBDIR = converter VPATH=.:$(SRCDIR)/$(SUBDIR) include $(BUILDDIR)/config.mk SUBDIRS = pbm pgm ppm other all: $(SUBDIRS:%=%/all) SCRIPTS = BINARIES = include $(SRCDIR)/common.mk