summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f2e2afc..f1d5b6d 100755
--- a/Makefile
+++ b/Makefile
@@ -11,8 +11,8 @@ endif
SRC_DIR := .
-CFLAGS += $(VMETA_DEF) \
- -I${SRC_DIR}/include \
+CFLAGS += $(VMETA_DEF) -O2 -g -Wall -D_GNU_SOURCE
+
vmeta_lib_src=${SRC_DIR}/vmeta_lib.c \
@@ -22,7 +22,7 @@ vmeta_lib_obj=${vmeta_lib_src:.c=.o}
uninstall-host uninstall-target
.c.o:
- ${CC} -fPIC -o $@ -c $<
+ $(CC) $(CFLAGS) -fPIC -o $@ -c $<
all: compile install-host install-target