diff options
-rw-r--r-- | test/data/emacs-module/Makefile.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/data/emacs-module/Makefile.in b/test/data/emacs-module/Makefile.in index 427d1aaa07c..c284256181e 100644 --- a/test/data/emacs-module/Makefile.in +++ b/test/data/emacs-module/Makefile.in @@ -25,6 +25,9 @@ top_srcdir = @top_srcdir@ VPATH = $(srcdir) CC = @CC@ CFLAGS = @CFLAGS@ +PROFILING_CFLAGS = @PROFILING_CFLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ CPPFLAGS = @CPPFLAGS@ SO = @MODULES_SUFFIX@ @@ -35,12 +38,15 @@ else FPIC_CFLAGS = -fPIC endif +ALL_CFLAGS = -I$(top_srcdir)/src $(FPIC_CFLAGS) $(PROFILING_CFLAGS) \ + $(WARN_CFLAGS) $(WERROR_CFLAGS) $(CFLAGS) + all: mod-test$(SO) %$(SO): %.o $(CC) -shared $(LDFLAGS) -o $@ $< %.o: %.c - $(CC) $(CPPFLAGS) $(CFLAGS) $(FPIC_CFLAGS) -I$(top_srcdir)/src -c -o $@ $< + $(CC) $(CPPFLAGS) $(ALL_CFLAGS) -c -o $@ $< %.o: $(srcdir)/emacs-module.[ch] |