mirror of
https://github.com/paboyle/Grid.git
synced 2025-08-15 10:41:54 +01:00
Hadrons: moving Hadrons to root directory, build system improvements
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# additional include paths necessary to compile the C++ library
|
||||
SUBDIRS = lib benchmarks tests extras
|
||||
SUBDIRS = Grid Hadrons benchmarks tests
|
||||
|
||||
include $(top_srcdir)/doxygen.inc
|
||||
|
||||
@@ -8,7 +8,7 @@ bin_SCRIPTS=grid-config
|
||||
BUILT_SOURCES = version.h
|
||||
|
||||
version.h:
|
||||
if [ `git status --porcelain | wc -l` -gt 0 ]; then a="uncommited changes"; else a="no uncommitted changes"; fi; echo "`git log -n 1 --format=format:"#define GITHASH \\"%H:%d $$a\\"%n" HEAD`" > $(srcdir)/lib/version.h
|
||||
if [ `git status --porcelain | wc -l` -gt 0 ]; then a="uncommited changes"; else a="no uncommitted changes"; fi; echo "`git log -n 1 --format=format:"#define GITHASH \\"%H:%d $$a\\"%n" HEAD`" > $(srcdir)/Grid/version.h
|
||||
|
||||
.PHONY: bench check tests doxygen-run doxygen-doc $(DX_PS_GOAL) $(DX_PDF_GOAL)
|
||||
|
||||
|
Reference in New Issue
Block a user