Skip to content

Commit

Permalink
Factored out Objective-C flags.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurik committed Oct 22, 2009
1 parent 68c7bba commit 99f6e37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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
3 changes: 2 additions & 1 deletion makefile
Expand Up @@ -7,6 +7,7 @@ target := $(PKG_TARG)-
endif

flags :=
objc :=

svn := $(shell svnversion)

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 99f6e37

Please sign in to comment.