mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
make: remove implicit rules from top-make
Otherwise, on some environments, GNU/Make may try to expand
implicit rules right in the top Makefile.
Fixes:
[criu]$ make criu/parasite-syscall.o
...
make -r -R -f /criu/scripts/nmk/scripts/main.mk makefile=Makefile obj=criu criu/parasite-syscall.c
make[1]: Entering directory `/criu'
make[1]: Nothing to be done for `criu/parasite-syscall.c'.
make[1]: Leaving directory `/criu'
gcc -O2 -g -Wall -Wformat-security -Werror -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -c -o criu/parasite-syscall.o criu/parasite-syscall.c
criu/parasite-syscall.c:8:22: fatal error: protobuf.h: No such file or directory
#include "protobuf.h"
^
compilation terminated.
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
parent
9b50b9d6d4
commit
20231a3988
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
|
@ -330,6 +330,9 @@ include Makefile.install
|
|||
|
||||
.DEFAULT_GOAL := all
|
||||
|
||||
# Disable implicit rules in _this_ Makefile.
|
||||
.SUFFIXES:
|
||||
|
||||
#
|
||||
# Optional local include.
|
||||
-include Makefile.local
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue