SUBDIRS = api unit
SOURCES = lib/not.c lib/harness.c
+CXXSOURCES = lib/runner.cpp
+CXXFLAGS = -std=c++11
include $(top_builddir)/make.tmpl
ln -sf not lib/fail
+lib/runner: lib/runner.o .lib-dir-stamp
+ $(CXX) $(LDFLAGS) -o $@ $<
+
lib/%: lib/%.o .lib-dir-stamp
$(CC) $(LDFLAGS) -o $@ $<
LIB = lib/not lib/invalid lib/fail lib/should lib/harness \
lib/check lib/aux lib/inittest lib/utils lib/get lib/lvm-wrapper \
- lib/paths
+ lib/paths lib/runner
CMDS = lvm $(shell cat $(top_builddir)/tools/.commands)