diff options
Diffstat (limited to 'tools/genmacro/Makefile.inc')
-rw-r--r-- | tools/genmacro/Makefile.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/genmacro/Makefile.inc b/tools/genmacro/Makefile.inc new file mode 100644 index 0000000..722f95d --- /dev/null +++ b/tools/genmacro/Makefile.inc @@ -0,0 +1,14 @@ +# These utility programs have to be built for BUILD host in cross-build. +# This makes things rather non-standard automake + +noinst_PROGRAMS += genmacro + +genmacro_SOURCES = +EXTRA_DIST += tools/genmacro/genmacro.c +genmacro_LDADD = genmacro.$(OBJEXT) +genmacro_LINK = $(CCLD_FOR_BUILD) -o $@ + +genmacro.$(OBJEXT): tools/genmacro/genmacro.c + $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) \ + -c -o $@ `test -f tools/genmacro/genmacro.c || echo '$(srcdir)/'`tools/genmacro/genmacro.c + |