mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-21 09:10:10 +00:00
Add target lib to Makefile for criu library. Created directory lib and add there Makefile and criu.c - skelettons for criu library. Signed-off-by: Ruslan Kupreev <kupruser@gmail.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
13 lines
207 B
Makefile
13 lines
207 B
Makefile
.PHONY: all clean
|
|
|
|
all: libcriu.so
|
|
|
|
libcriu.so: criu.o
|
|
$(Q) $(CC) $(CFLAGS) -shared -o $@ criu.o
|
|
|
|
criu.o:
|
|
$(Q) $(CC) $(CFLAGS) -fPIC -c criu.c -I ../include/
|
|
|
|
clean:
|
|
$(Q) $(RM) -f *.o
|
|
$(Q) $(RM) -f *.so
|