Commit 5f25857f authored by Glenn Morris's avatar Glenn Morris
Browse files

Small improvements for test/data/emacs-module/Makefile

* test/data/emacs-module/ (%.o):
Fix emacs-module dependency.
(SECONDARY): Stop make automatically deleting *.o.
(clean): New rule.
parent 710ed389
......@@ -46,7 +46,13 @@ all: mod-test$(SO)
%$(SO): %.o
$(CC) -shared $(LDFLAGS) -o $@ $<
%.o: %.c
%.o: %.c $(top_srcdir)/src/emacs-module.h
$(CC) $(CPPFLAGS) $(ALL_CFLAGS) -c -o $@ $<
%.o: $(srcdir)/emacs-module.[ch]
## Stop .o files being deleted.
.PHONY: clean
rm -f *.o *${SO}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment