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) ...@@ -54,14 +54,13 @@ ifeq ($(ARCH),x86)
endif endif
endif endif
DEPEND.c = $(COMPILE.c) -MM -MP %.d: %.c
%.d: %.c $(E) " DEP " $@
$(E) " DEP " $*.d $(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -MM -MP -c $< -o $@
$(Q)$(DEPEND.c) $(OUTPUT_OPTION) $<
%.o: %.c | %.d %.o: %.c | %.d
$(E) " CC " $@ $(E) " CC " $@
$(Q)$(COMPILE.c) $(OUTPUT_OPTION) $< $(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
%: %.o $(LDLIBS) %: %.o $(LDLIBS)
@echo $@ >> .gitignore @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