Print this page
cw: give cw(1onbld) a new interface allowing for multiple arbitrary shadows

*** 14,32 **** # include $(SRC)/cmd/Makefile.cmd include $(SRC)/test/Makefile.com ! UTILS = util.c PROGS = \ runtests \ acquire-lock CSTD = $(CSTD_GNU99) ! SRCS = $(PROGS:%=%.c) $(UTILS) PROGS32 = $(PROGS:%=%.32) PROGS64 = $(PROGS:%=%.64) LINTS = $(PROGS:%=%.ln) LINTFLAGS += -erroff=E_NAME_DEF_NOT_USED2 --- 14,32 ---- # include $(SRC)/cmd/Makefile.cmd include $(SRC)/test/Makefile.com ! OBJECTS=util.o runtests.32.o runtests.64.o acquire-lock.32.o acquire-lock.64.o PROGS = \ runtests \ acquire-lock CSTD = $(CSTD_GNU99) ! SRCS = $(PROGS:%=%.c) $(UTILS:%.o=%.c) PROGS32 = $(PROGS:%=%.32) PROGS64 = $(PROGS:%=%.64) LINTS = $(PROGS:%=%.ln) LINTFLAGS += -erroff=E_NAME_DEF_NOT_USED2
*** 59,74 **** $(INS.rename) %.ln: %.c $(LINT.c) $< $(UTILS) $(LDLIBS) ! %.64: %.c ! $(LINK64.c) -o $@ $< $(UTILS) $(LDLIBS64) $(POST_PROCESS) ! %.32: %.c ! $(LINK.c) -o $@ $< $(UTILS) $(LDLIBS) $(POST_PROCESS) clobber: $(RM) $(PROGS32) $(PROGS64) --- 59,80 ---- $(INS.rename) %.ln: %.c $(LINT.c) $< $(UTILS) $(LDLIBS) ! %.64.o: %.c ! $(COMPILE64.c) $< -o $@ ! ! %.32.o: %.c ! $(COMPILE.c) $< -o $@ ! ! %.64: %.64.o util.64.o ! $(LINK64.c) -o $@ $< util.64.o $(LDLIBS64) $(POST_PROCESS) ! %.32: %.32.o util.32.o ! $(LINK.c) -o $@ $< util.32.o $(LDLIBS) $(POST_PROCESS) clobber: $(RM) $(PROGS32) $(PROGS64)