mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-21 01:06:58 +00:00
Change made through this commit: - Include copy of flog as a seperate tree. - Modify the makefile to add and compile flog code. Signed-off-by: prakritigoyal19 <prakritigoyal19@gmail.com>
29 lines
448 B
Makefile
29 lines
448 B
Makefile
OPTS=-ggdb3 -Wall -Werror
|
|
export OPTS
|
|
|
|
CFLAGS += -iquote include
|
|
CFLAGS += -iquote flog/include
|
|
CFLAGS += -iquote flog/include/uapi
|
|
|
|
include $(__nmk_dir)msg.mk
|
|
|
|
$(eval $(call gen-built-in,src))
|
|
|
|
flog:
|
|
$(Q) $(MAKE) $(build)=$(obj)/src all
|
|
.PHONY: flog
|
|
|
|
clean-flog:
|
|
$(call msg-gen, $@)
|
|
$(Q) $(MAKE) $(build)=$(obj)/src clean
|
|
$(Q) $(RM) built-in.o
|
|
.PHONY: clean-flog
|
|
|
|
clean: clean-flog
|
|
mrproper: clean
|
|
|
|
test:
|
|
./tests/test00
|
|
|
|
all-y += flog
|
|
|