]> git.saurik.com Git - cycript.git/blobdiff - makefile
Further attempts at making Cycript portable to GNUstep.
[cycript.git] / makefile
index eab95c0e85f5bc88d7676bd39ad588bee1d4dbea..b7895326d1978bd1f14907f94de46a3243ff7cf9 100644 (file)
--- a/makefile
+++ b/makefile
@@ -6,8 +6,10 @@ else
 target := $(PKG_TARG)-
 endif
 
+flags ?= -g3 -O0 -DYYDEBUG=1
+
 paths := $(foreach path,$(paths),$(wildcard $(path)))
-flags := $(foreach path,$(paths),-I$(path) -L$(path))
+flags += $(foreach path,$(paths),-I$(path) -L$(path))
 objc :=
 
 svn := $(shell svnversion)
@@ -48,8 +50,6 @@ ifneq ($(shell which gnustep-config 2>/dev/null),)
 endif
 endif
 
-#flags += -g3 -O0 -DYYDEBUG=1
-flags += -g0 -O3
 flags += -Wall -Werror -Wno-parentheses #-Wno-unused
 flags += -fPIC -fno-common
 flags += -I. -I$(shell apr-1-config --includedir)