mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-16 17:19:41 +00:00
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.
This commit is contained in:
parent
710ed38912
commit
5f25857f61
@ -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.
|
||||
.SECONDARY:
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
clean:
|
||||
rm -f *.o *${SO}
|
||||
|
Loading…
Reference in New Issue
Block a user