From eacba955d0c7337521a8985868f86d525b8cc99c Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 22 Oct 2009 21:21:59 +0000 Subject: [PATCH] Factored out Objective-C flags. --- GNUstep.mk | 2 +- makefile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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) -- 2.45.2