diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index 6fe7203..0000000 --- a/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# -# Makefile for vMeta user library -# - -ifeq "$(CONFIG_GEN_DEBUG)" "y" -VMETA_DEF := -DVMETA_DEBUG - -else -VMETA_DEF := -endif - -SRC_DIR := . - -CFLAGS += $(VMETA_DEF) -O2 -g -Wall -D_GNU_SOURCE - - -vmeta_lib_src=${SRC_DIR}/vmeta_lib.c \ - -vmeta_lib_obj=${vmeta_lib_src:.c=.o} - -.PHONY: all compile install-host install-target clean clean-local \ - uninstall-host uninstall-target - -.c.o: - $(CC) $(CFLAGS) -fPIC -o $@ -c $< - -all: compile install-host install-target - -compile: libvmeta.so libvmeta.a - -libvmeta.a: ${vmeta_lib_obj} - ${AR} -rcs $@ ${vmeta_lib_obj} - -libvmeta.so: ${vmeta_lib_obj} - ${CC} -g -s -shared --no-undefined -Wl,-soname,$@ -o $@ ${vmeta_lib_obj} -lbmm - -clean: clean-local - -clean-local: - -rm -f ${vmeta_lib_obj} - -rm -f libvmeta.* |