improve build system

This commit is contained in:
2018-06-21 11:25:18 +02:00
parent b98f76ece4
commit a9d89cd195
28 changed files with 149 additions and 412 deletions

View File

@ -1,5 +1,5 @@
# If you are not using the PSI build environment, this file can be removed.
ifeq ($(wildcard /ioc/tools/driver.makefile),)
$(info If you are not using the PSI build environment, GNUmakefile can be removed.)
include Makefile
else
include /ioc/tools/driver.makefile
@ -31,6 +31,11 @@ HEADERS += StreamError.h
StreamCore.o StreamCore.d: streamReferences
# Update version string (contains __DATE__ and __TIME__)
# each time make runs.
StreamVersion.o: FORCE
FORCE:
streamReferences:
$(PERL) ../src/makeref.pl Interface $(BUSSES) > $@
$(PERL) ../src/makeref.pl Converter $(FORMATS) >> $@