Loki/test/Makefile
syntheticpp 28ac0a23b2 add test/Function to build proress
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@651 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-20 09:32:16 +00:00

24 lines
551 B
Makefile
Executable file

export CPPFLAGS = -I../../include -DNDEBUG
export LDFLAGS = -L../../lib
export LDLIBS = -lloki
ifeq ($(OS),Windows)
export BIN_SUFFIX = .exe
else
export BIN_SUFFIX =
endif
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