diff options
| author | Glenn Morris | 2017-06-12 16:35:39 -0400 |
|---|---|---|
| committer | Glenn Morris | 2017-06-12 16:35:39 -0400 |
| commit | 5f25857f619f87c59e8e888fde5e66280a185123 (patch) | |
| tree | c1958911f33e0cb01f849220fe9d3672609916e8 /test/data | |
| parent | 710ed389126d05949dcba890cd8d3a1082851e70 (diff) | |
| download | emacs-5f25857f619f87c59e8e888fde5e66280a185123.tar.gz emacs-5f25857f619f87c59e8e888fde5e66280a185123.zip | |
Small improvements for test/data/emacs-module/Makefile
* test/data/emacs-module/Makefile.in (%.o):
Fix emacs-module dependency.
(SECONDARY): Stop make automatically deleting *.o.
(clean): New rule.
Diffstat (limited to 'test/data')
| -rw-r--r-- | test/data/emacs-module/Makefile.in | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/data/emacs-module/Makefile.in b/test/data/emacs-module/Makefile.in index c284256181e..9963afd5736 100644 --- a/test/data/emacs-module/Makefile.in +++ b/test/data/emacs-module/Makefile.in | |||
| @@ -46,7 +46,13 @@ all: mod-test$(SO) | |||
| 46 | %$(SO): %.o | 46 | %$(SO): %.o |
| 47 | $(CC) -shared $(LDFLAGS) -o $@ $< | 47 | $(CC) -shared $(LDFLAGS) -o $@ $< |
| 48 | 48 | ||
| 49 | %.o: %.c | 49 | %.o: %.c $(top_srcdir)/src/emacs-module.h |
| 50 | $(CC) $(CPPFLAGS) $(ALL_CFLAGS) -c -o $@ $< | 50 | $(CC) $(CPPFLAGS) $(ALL_CFLAGS) -c -o $@ $< |
| 51 | 51 | ||
| 52 | %.o: $(srcdir)/emacs-module.[ch] | 52 | ## Stop .o files being deleted. |
| 53 | .SECONDARY: | ||
| 54 | |||
| 55 | .PHONY: clean | ||
| 56 | |||
| 57 | clean: | ||
| 58 | rm -f *.o *${SO} | ||