mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-02-05 22:17:05 +00:00
Formerly GNUmakefile.~96~
This commit is contained in:
parent
f9b50f6436
commit
bfe005e8a0
1 changed files with 10 additions and 6 deletions
16
GNUmakefile
16
GNUmakefile
|
@ -30,6 +30,16 @@ extras := $(filter-out getloadavg.o @%@,$(extras)) getloadavg.o
|
||||||
LOADLIBES := $(filter-out @%@,$(LOADLIBES))
|
LOADLIBES := $(filter-out @%@,$(LOADLIBES))
|
||||||
ALLOCA := $(filter-out @%@,$(ALLOCA))
|
ALLOCA := $(filter-out @%@,$(ALLOCA))
|
||||||
|
|
||||||
|
customs=yes
|
||||||
|
ifdef customs
|
||||||
|
REMOTE := cstms
|
||||||
|
defines := $(defines) -Ipmake/customs -Ipmake/lib/include
|
||||||
|
LOADLIBES := $(addprefix pmake/customs/,customslib.o rpc.o xlog.o) \
|
||||||
|
pmake/lib/sprite/libsprite.a
|
||||||
|
else
|
||||||
|
REMOTE := stub
|
||||||
|
endif
|
||||||
|
|
||||||
# Set `ARCH' to a string for the type of machine.
|
# Set `ARCH' to a string for the type of machine.
|
||||||
ifndef ARCH
|
ifndef ARCH
|
||||||
ifdef machine
|
ifdef machine
|
||||||
|
@ -100,12 +110,6 @@ else # Not ARCH
|
||||||
prog := make
|
prog := make
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef customs
|
|
||||||
REMOTE := -DCUSTOMS -Ipmake/customs -Ipmake/lib/include
|
|
||||||
LOADLIBES := $(addprefix pmake/customs/,customslib.o rpc.o xlog.o) \
|
|
||||||
pmake/lib/sprite/libsprite.a
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq "$(findstring gcc,$(CC))" ""
|
ifneq "$(findstring gcc,$(CC))" ""
|
||||||
CFLAGS = -g -W -Wunused -Wpointer-arith -Wreturn-type -Wswitch
|
CFLAGS = -g -W -Wunused -Wpointer-arith -Wreturn-type -Wswitch
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue