mirror of
https://github.com/mirror/make.git
synced 2025-03-27 12:31:23 +08:00
(CPPFLAGS): Add -Iglob.
This commit is contained in:
parent
8c13a20895
commit
737e056a89
10
GNUmakefile
10
GNUmakefile
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Copyright (C) 1990, 91, 92, 93, 94, 95 Free Software Foundation, Inc.
|
# Copyright (C) 1990, 91, 92, 93, 94, 95 Free Software Foundation, Inc.
|
||||||
# This file is part of GNU Make.
|
# This file is part of GNU Make.
|
||||||
#
|
#
|
||||||
# GNU Make is free software; you can redistribute it and/or modify
|
# GNU Make is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with GNU Make; see the file COPYING. If not, write to
|
# along with GNU Make; see the file COPYING. If not, write to
|
||||||
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
@ -89,7 +89,7 @@ GETOPT =
|
|||||||
#GETOPT_SRC = Don't clear this or dist will break.
|
#GETOPT_SRC = Don't clear this or dist will break.
|
||||||
|
|
||||||
# glob is in libc too.
|
# glob is in libc too.
|
||||||
GLOB =
|
GLOB =
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
@ -113,7 +113,7 @@ $(archpfx)load.o: load.c
|
|||||||
$(archpfx)load.dep: load.c
|
$(archpfx)load.dep: load.c
|
||||||
$(mkdep) $(LOAD_AVG) $< | sed 's,$*\.o,& $@,' > $@
|
$(mkdep) $(LOAD_AVG) $< | sed 's,$*\.o,& $@,' > $@
|
||||||
|
|
||||||
CPPFLAGS := -I$(ARCH) -DHAVE_CONFIG_H $(filter-out @%@,$(CPPFLAGS))
|
CPPFLAGS := -I$(ARCH) -Iglob -DHAVE_CONFIG_H $(filter-out @%@,$(CPPFLAGS))
|
||||||
|
|
||||||
ifneq "$(wildcard $(ARCH)/makefile)" ""
|
ifneq "$(wildcard $(ARCH)/makefile)" ""
|
||||||
include $(ARCH)/makefile
|
include $(ARCH)/makefile
|
||||||
@ -126,7 +126,7 @@ endif
|
|||||||
|
|
||||||
ifneq "$(findstring gcc,$(CC))" ""
|
ifneq "$(findstring gcc,$(CC))" ""
|
||||||
CFLAGS = -g -Wall -Wtraditional -Wid-clash-31 -Wpointer-arith \
|
CFLAGS = -g -Wall -Wtraditional -Wid-clash-31 -Wpointer-arith \
|
||||||
-Wbad-function-cast -Wconversion
|
-Wbad-function-cast -Wconversion
|
||||||
else
|
else
|
||||||
CFLAGS = -g
|
CFLAGS = -g
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user