mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Reviewed-by: Pavel Emelyanov <xemul@parallels.com>
30 lines
535 B
Makefile
30 lines
535 B
Makefile
CFLAGS = -g -O2 -Wall
|
|
|
|
LIB = libzdtmtst.a
|
|
|
|
LIBSRC = datagen.c msg.c parseargs.c test.c streamutil.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) $(LIBOBJ) $(LIB) *~
|
|
|
|
cleandep:
|
|
$(RM) $(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
|