mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-22 01:31:34 +00:00
Otherwise if no such files present I'm getting warnings. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
32 lines
630 B
Makefile
32 lines
630 B
Makefile
include ../Makefile.inc
|
|
|
|
CFLAGS = -g -O2 -Wall -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
|
|
|
|
LIB = libzdtmtst.a
|
|
|
|
LIBSRC = datagen.c msg.c parseargs.c test.c streamutil.c lock.c ns.c tcp.c
|
|
LIBOBJ = $(LIBSRC:%.c=%.o)
|
|
LIBDEP = $(LIBSRC:%.c=%.d)
|
|
|
|
DEPEND.c = $(COMPILE.c) -MM -MP
|
|
%.d: %.c
|
|
$(DEPEND.c) $(OUTPUT_OPTION) $<
|
|
|
|
all: $(LIB)
|
|
install: all
|
|
|
|
$(LIB): $(LIB)(${LIBOBJ})
|
|
|
|
clean:
|
|
$(RM) -f $(LIBOBJ) $(LIB) *~
|
|
|
|
cleandep:
|
|
$(RM) -f $(LIBDEP)
|
|
|
|
realclean: clean cleandep
|
|
|
|
.PHONY: force clean cleandep cleanout realclean start check_start stop wait_stop
|
|
|
|
ifeq ($(filter-out no-deps-targets, $(MAKECMDGOALS)),)
|
|
-include $(LIBDEP)
|
|
endif
|