From: Jay Freeman (saurik) Date: Thu, 22 Oct 2009 21:21:59 +0000 (+0000) Subject: Factored out Objective-C flags. X-Git-Tag: v0.9.432~272 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/eacba955d0c7337521a8985868f86d525b8cc99c Factored out Objective-C flags. --- diff --git a/GNUstep.mk b/GNUstep.mk index a1ee86f..46e0d91 100644 --- a/GNUstep.mk +++ b/GNUstep.mk @@ -1,3 +1,3 @@ -flags += $(shell gnustep-config --objc-flags) +objc += $(shell gnustep-config --objc-flags) link += $(shell gnustep-config --base-libs) include ObjectiveC.mk diff --git a/makefile b/makefile index 1a986ec..a77d330 100644 --- a/makefile +++ b/makefile @@ -7,6 +7,7 @@ target := $(PKG_TARG)- endif flags := +objc := svn := $(shell svnversion) @@ -107,7 +108,7 @@ lex.cy.o: lex.cy.c Cycript.tab.hh Parser.hpp Pooling.hpp $(target)g++ $(flags) -c -o $@ $< %.o: %.mm $(header) - $(target)g++ $(flags) -c -o $@ $< + $(target)g++ $(flags) -c -o $@ $< $(objc) libcycript.$(dll): $(code) $(target)g++ $(flags) -shared -dynamiclib -o $@ $(filter %.o,$^) $(library) $(link)