mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
Enable compiling Emacs with implicit Make rules suppressed
* lib/Makefile.in (.SUFFIXES): * lwlib/Makefile.in (.SUFFIXES): * oldXMenu/Makefile.in (.SUFFIXES): * src/Makefile.in (.SUFFIXES): Register .c as a default suffix, for this list is emptied when `-r' is provided to Make.
This commit is contained in:
parent
2dae603c41
commit
4124b98509
@ -98,6 +98,7 @@ libegnu_a_OBJECTS = $(patsubst %.o,e-%.o,$(for_emacs_OBJECTS))
|
||||
|
||||
$(libegnu_a_OBJECTS) $(libgnu_a_OBJECTS): $(BUILT_SOURCES)
|
||||
|
||||
.SUFFIXES: .c
|
||||
.c.o:
|
||||
$(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) -o $@ $<
|
||||
e-%.o: %.c
|
||||
|
@ -81,6 +81,7 @@ ALL_CFLAGS= $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \
|
||||
-Demacs -I../src \
|
||||
-I$(srcdir) -I$(srcdir)/../src -I../lib -I$(srcdir)/../lib
|
||||
|
||||
.SUFFIXES: .c
|
||||
.c.o:
|
||||
$(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
|
||||
|
||||
|
@ -112,6 +112,7 @@ ALL_CFLAGS=$(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \
|
||||
$(CPPFLAGS) $(CFLAGS) -DEMACS_BITMAP_FILES \
|
||||
-I../src -I../lib -I${srcdir} -I${srcdir}/../src -I${srcdir}/../lib
|
||||
|
||||
.SUFFIXES: .c
|
||||
.c.o:
|
||||
$(AM_V_CC)$(CC) -c ${ALL_CFLAGS} $<
|
||||
|
||||
|
@ -452,7 +452,7 @@ ALL_OBJC_CFLAGS = $(EMACS_CFLAGS) \
|
||||
ALL_CXX_CFLAGS = $(EMACS_CFLAGS) \
|
||||
$(filter-out $(NON_CXX_CFLAGS),$(WARN_CFLAGS)) $(CXXFLAGS)
|
||||
|
||||
.SUFFIXES: .m .cc
|
||||
.SUFFIXES: .c .m .cc
|
||||
.c.o:
|
||||
$(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $(PROFILING_CFLAGS) $<
|
||||
.m.o:
|
||||
|
Loading…
Reference in New Issue
Block a user