Commit 9d169c55 authored by Ruslan Kuprieiev's avatar Ruslan Kuprieiev Committed by Pavel Emelyanov

crit: add crit target to Makefile and *.pyc to .gitignore

Signed-off-by: 's avatarRuslan Kuprieiev <kupruser@gmail.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent d36994c4
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
*.so *.so
.git-ignore .git-ignore
*.patch *.patch
*.pyc
criu criu
cscope* cscope*
tags tags
......
...@@ -142,7 +142,7 @@ build-crtools := -r -R -f scripts/Makefile.build makefile=Makefile.crtools obj ...@@ -142,7 +142,7 @@ build-crtools := -r -R -f scripts/Makefile.build makefile=Makefile.crtools obj
PROGRAM := criu PROGRAM := criu
.PHONY: all zdtm test rebuild clean distclean tags cscope \ .PHONY: all zdtm test rebuild clean distclean tags cscope \
docs help pie protobuf $(ARCH_DIR) clean-built lib docs help pie protobuf $(ARCH_DIR) clean-built lib crit
ifeq ($(GCOV),1) ifeq ($(GCOV),1)
%.o $(PROGRAM): override CFLAGS += --coverage %.o $(PROGRAM): override CFLAGS += --coverage
...@@ -196,6 +196,9 @@ $(PROGRAM): $(SYSCALL-LIB) $(ARCH-LIB) $(PROGRAM-BUILTINS) ...@@ -196,6 +196,9 @@ $(PROGRAM): $(SYSCALL-LIB) $(ARCH-LIB) $(PROGRAM-BUILTINS)
$(E) " LINK " $@ $(E) " LINK " $@
$(Q) $(CC) $(CFLAGS) $^ $(LIBS) $(LDFLAGS) $(GMONLDOPT) -rdynamic -o $@ $(Q) $(CC) $(CFLAGS) $^ $(LIBS) $(LDFLAGS) $(GMONLDOPT) -rdynamic -o $@
crit:
$(Q) $(MAKE) -C pycriu all
zdtm: all zdtm: all
$(Q) $(MAKE) -C test/zdtm all $(Q) $(MAKE) -C test/zdtm all
...@@ -226,6 +229,8 @@ clean: clean-built ...@@ -226,6 +229,8 @@ clean: clean-built
$(Q) $(RM) -r ./gcov $(Q) $(RM) -r ./gcov
$(Q) $(RM) protobuf-desc-gen.h $(Q) $(RM) protobuf-desc-gen.h
$(Q) $(MAKE) -C test $@ $(Q) $(MAKE) -C test $@
$(Q) $(MAKE) -C pycriu $@
$(Q) $(RM) ./*.pyc
distclean: clean distclean: clean
$(E) " DISTCLEAN" $(E) " DISTCLEAN"
......
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