criu/flog/Makefile
prakritigoyal19 6f8d5435bb Add flog to CRIU
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>
2022-05-12 17:55:45 -07:00

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