Fix up a couple issues with multi-core builds and 2 race conditions

This commit is contained in:
Jon Trulson
2019-11-22 13:42:02 -07:00
parent 89f91f0091
commit 264871cefb
3 changed files with 4 additions and 3 deletions

View File

@@ -61,7 +61,8 @@ SYM2NUM_CMD = CPP=$(GENCPP) $(KSH) sym2num
BUILT_SOURCES = dtprintinfo_cat.h dtprintinfo_msg.h dtprintinfo.msg
CLEANFILES = $(BUILT_SOURCES)
dtprintinfo_msg.h dtprintinfo.msg: dtprintinfo.msg.src
# this will also create dtprintinfo_msg.h
dtprintinfo.msg: dtprintinfo.msg.src
$(RM) dtprintinfo_msg.h dtprintinfo.msg
$(SYM2NUM_CMD) dtprintinfo dtprintinfo.msg.src > dtprintinfo.msg