created "tests" subdirectory infrastructure
This commit is contained in:
1 parent
2aefd8d4ec
commit
90d313721f
5 files changed
+39
-1
No files matched your search
@@ -46,7 +46,15 @@ tmpl.h: tmpl.cc
|
||||
grep '$*_' $^ | sed -e 's/^/extern /' -e 's/ =.*/;/' >> $@
|
||||
echo '#endif' >> $@
|
||||
|
||||
clean:
|
||||
.PHONY: tests
|
||||
tests: PATH := $(shell pwd):$(PATH)
|
||||
tests: all
|
||||
$(MAKE) -C $@
|
||||
|
||||
tests-clean:
|
||||
$(MAKE) -C tests clean
|
||||
|
||||
clean: tests-clean
|
||||
-rm -f $(TARGET) *.o .*.dep tmpl.cc tmpl.h
|
||||
|
||||
-include $(CXXDEPS)
|
||||
Reference in new issue
Block a user