Commit 919f5488 authored by Dmitry Safonov's avatar Dmitry Safonov Committed by Andrei Vagin

test/make: Drop implicit make variables

Let's drop usage of COMPILE.c, OUTPUT_OPTION.
It will allow run submake with -R.

Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarDmitry Safonov <dima@arista.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent c2876c2f
......@@ -54,14 +54,13 @@ ifeq ($(ARCH),x86)
endif
endif
DEPEND.c = $(COMPILE.c) -MM -MP
%.d: %.c
$(E) " DEP " $*.d
$(Q)$(DEPEND.c) $(OUTPUT_OPTION) $<
%.d: %.c
$(E) " DEP " $@
$(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -MM -MP -c $< -o $@
%.o: %.c | %.d
$(E) " CC " $@
$(Q)$(COMPILE.c) $(OUTPUT_OPTION) $<
$(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
%: %.o $(LDLIBS)
@echo $@ >> .gitignore
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment