You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
398 B
17 lines
398 B
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)
|
|
|