Add support for user overridden CFLAGS and LDFLAGS diff --git a/cstool/Makefile b/cstool/Makefile index 450ac1b..3cf2a81 100644 --- a/cstool/Makefile +++ b/cstool/Makefile @@ -3,2 +3,3 @@ include ../functions.mk +include ../config.mk @@ -8,4 +9,4 @@ LIBNAME = capstone -CFLAGS = -I../include -LDFLAGS = -O3 -Wall -L.. -l$(LIBNAME) +CFLAGS += -I../include +LDFLAGS += -Wall -L.. -l$(LIBNAME)