Loki/test/Makefile
lfittl 3de4a064cb - Create initial 0.1.6 changelog
- Makefiles can now be called from sub directories
- Makefiles know includes and recompile if they are changed (linux, macosx)
- Build all tests except SingletonDll with the static library (linux, macosx)


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@695 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-14 07:31:37 +00:00

14 lines
377 B
Makefile
Executable file

SUBTARGETS_ORIG := $(patsubst %/,%,$(dir $(wildcard */Makefile)))
SUBTARGETS := $(filter-out $(SUBTARGETS_FILTER_OUT),$(SUBTARGETS_ORIG))
SUBTARGETS_CLEAN := $(addsuffix -clean,$(SUBTARGETS))
.PHONY: all clean $(SUBTARGETS) $(SUBTARGETS_CLEAN)
all: $(SUBTARGETS)
clean: $(SUBTARGETS_CLEAN)
$(SUBTARGETS):
$(MAKE) -C $@
$(SUBTARGETS_CLEAN):
$(MAKE) -C $(@:-clean=) clean