mirror of
https://github.com/rfivet/uemacs.git
synced 2024-09-30 01:05:54 -04:00
uemacs: make build output more readable
This patch makes the build output look like what we have in the linux kernel so that warnings stand out better: CC ansi.o CC basic.o CC bind.o CC buffer.o buffer.c: In function ‘nextbuffer’: buffer.c:43: warning: ‘bp’ may be used uninitialized in this function CC crypt.o CC display.o [...] Cc: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
6139ec4e73
commit
54a12c01ef
21
makefile
21
makefile
@ -1,5 +1,17 @@
|
|||||||
# makefile for emacs, updated Sun Apr 28 17:59:07 EET DST 1996
|
# makefile for emacs, updated Sun Apr 28 17:59:07 EET DST 1996
|
||||||
|
|
||||||
|
# Make the build silent by default
|
||||||
|
V =
|
||||||
|
|
||||||
|
ifeq ($(strip $(V)),)
|
||||||
|
E = @echo
|
||||||
|
Q = @
|
||||||
|
else
|
||||||
|
E = @\#
|
||||||
|
Q =
|
||||||
|
endif
|
||||||
|
export E Q
|
||||||
|
|
||||||
SRC=ansi.c basic.c bind.c buffer.c crypt.c display.c eval.c exec.c \
|
SRC=ansi.c basic.c bind.c buffer.c crypt.c display.c eval.c exec.c \
|
||||||
file.c fileio.c ibmpc.c input.c isearch.c line.c lock.c main.c \
|
file.c fileio.c ibmpc.c input.c isearch.c line.c lock.c main.c \
|
||||||
pklock.c posix.c random.c region.c search.c spawn.c tcap.c \
|
pklock.c posix.c random.c region.c search.c spawn.c tcap.c \
|
||||||
@ -31,7 +43,8 @@ BINDIR=/usr/bin
|
|||||||
LIBDIR=/usr/lib
|
LIBDIR=/usr/lib
|
||||||
|
|
||||||
em: ${OBJ}
|
em: ${OBJ}
|
||||||
${CC} ${DEFINES} -o em ${OBJ} ${LIBS}
|
$(E) " LINK " $@
|
||||||
|
$(Q) ${CC} ${DEFINES} -o em ${OBJ} ${LIBS}
|
||||||
|
|
||||||
SPARSE=sparse
|
SPARSE=sparse
|
||||||
SPARSE_FLAGS=-D__LITTLE_ENDIAN__ -D__x86_64__ -D__linux__ -D__unix__
|
SPARSE_FLAGS=-D__LITTLE_ENDIAN__ -D__x86_64__ -D__linux__ -D__unix__
|
||||||
@ -40,7 +53,8 @@ sparse:
|
|||||||
$(SPARSE) $(SPARSE_FLAGS) $(DEFINES) $(SRC)
|
$(SPARSE) $(SPARSE_FLAGS) $(DEFINES) $(SRC)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f core lintout makeout tags makefile.bak *.o
|
$(E) " CLEAN"
|
||||||
|
$(Q) rm -f core lintout makeout tags makefile.bak *.o
|
||||||
|
|
||||||
install: em
|
install: em
|
||||||
strip em
|
strip em
|
||||||
@ -93,7 +107,8 @@ depend: ${SRC}
|
|||||||
@echo '# see make depend above' >>makefile
|
@echo '# see make depend above' >>makefile
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
${CC} ${CFLAGS} ${DEFINES} -c $*.c
|
$(E) " CC " $@
|
||||||
|
$(Q) ${CC} ${CFLAGS} ${DEFINES} -c $*.c
|
||||||
|
|
||||||
# DO NOT DELETE THIS LINE -- make depend uses it
|
# DO NOT DELETE THIS LINE -- make depend uses it
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user