]> git.saurik.com Git - cycript.git/blobdiff - makefile
Fixed the ::Class bug and attempted to further abstract GNUstep.
[cycript.git] / makefile
index a77d33053408c40244db1aa6fcb61d7acb3df097..84a03f869d5bf370920e05d9de86201a5cacdc47 100644 (file)
--- a/makefile
+++ b/makefile
@@ -39,6 +39,12 @@ uname_p := $(shell uname -p)
 -include $(uname_s).mk
 -include $(uname_s)-$(uname_p).mk
 
+ifeq ($(filter ObjectiveC,$(filters)),)
+ifneq ($(shell which gnustep-config 2>/dev/null),)
+include GNUstep.mk
+endif
+endif
+
 flags += -g3 -O0 -DYYDEBUG=1
 #flags += -g0 -O3
 flags += -Wall -Werror -Wno-parentheses