- Makefile: fix rcsim.h target

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2022-11-07 21:21:38 +01:00
committed by Thilo Graf
parent d28c3ff231
commit 6a7e0b3653

View File

@@ -1,6 +1,6 @@
BUILT_SOURCES = rcsim.h
# ugly: this is in the source tree, but belongs into the build dir :-(
rcsim.h: $(srcdir)/driver/rcinput.h $(srcdir)/create_rcsim_h.sh
rcsim.h: $(srcdir)/driver/rcinput.h $(srcdir)/driver/rcinput_fake.h $(srcdir)/create_rcsim_h.sh
pushd $(srcdir) && sh ./create_rcsim_h.sh > $@
AM_CXXFLAGS = -fno-rtti -fno-exceptions -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS