diff options
author | Roland McGrath <roland@redhat.com> | 1993-02-03 23:12:43 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1993-02-03 23:12:43 +0000 |
commit | f7ee7d26a5f1a183b8a9391f954c11dcdff21453 (patch) | |
tree | 78be5cacad8a5a1714e5a2d4f81a3ec0eaa9ff88 /GNUmakefile | |
parent | 15d4ec2322c53717966b54dc587dd4e36194db3f (diff) | |
download | gunmake-f7ee7d26a5f1a183b8a9391f954c11dcdff21453.tar.gz |
Formerly GNUmakefile.~93~
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/GNUmakefile b/GNUmakefile index ba79a43..2fd1221 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -30,12 +30,6 @@ extras := $(filter-out getloadavg.o @%@,$(extras)) getloadavg.o LOADLIBES := $(filter-out @%@,$(LOADLIBES)) ALLOCA := $(filter-out @%@,$(ALLOCA)) -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 - # Set `ARCH' to a string for the type of machine. ifndef ARCH ifdef machine @@ -106,6 +100,12 @@ else # Not ARCH prog := make 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))" "" CFLAGS = -g -W -Wunused -Wpointer-arith -Wreturn-type -Wswitch else @@ -125,10 +125,6 @@ mkdep = $(CC) -M $(CPPFLAGS) depfiles = $(patsubst %.o,%.dep,$(filter %.o,$(objs))) -ifdef yescustoms -prog := $(prog)-customs -endif - .PHONY: default default: $(prog) |