#===========================================================================
#
# src/libs Makefile
#
#===========================================================================
# Delete implicit rules
.SUFFIXES:

ifndef TOPDIR
     TOPDIR:=$(shell pwd | sed -e 's?/src.*??')
endif

MAKE+= -I $(TOPDIR)/src --no-print-directory --no-builtin-rules

# Include the individual application makefiles
#
target_files := $(wildcard *.make)
targets := $(basename $(target_files))

all : $(targets)

$(targets) : FORCE
	@$(MAKE) -f $@.make

FORCE:

%.clean : %.make
	@$(MAKE) -f $< clean

include $(TOPDIR)/src/Makeshare.include
