summaryrefslogtreecommitdiff
path: root/llbuild
diff options
context:
space:
mode:
authorLauri Leukkunen <lle@rahina.org>2007-11-19 15:50:46 +0200
committerLauri Leukkunen <lle@rahina.org>2007-11-19 23:54:37 +0200
commit055cb965bf570257b6549ed9715bf7cd188a5d3c (patch)
tree6b06e5a38f44a9ac19642904aa70403d17d2d8f2 /llbuild
parent4185a4978aa206c477efeeb84500dafb0809db6c (diff)
Incomplete OS X support
Signed-off-by: Lauri Leukkunen <lle@rahina.org>
Diffstat (limited to 'llbuild')
-rw-r--r--llbuild/Makefile.include5
1 files changed, 5 insertions, 0 deletions
diff --git a/llbuild/Makefile.include b/llbuild/Makefile.include
index 9a307b5..d4d046b 100644
--- a/llbuild/Makefile.include
+++ b/llbuild/Makefile.include
@@ -66,6 +66,11 @@ P = @printf "[%s] $@\n" # <- space before hash is important!!!
Q = @
endif
+%.dylib:
+ $(MKOUTPUTDIR)
+ $(P)DYLIB
+ $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -dynamiclib -o $@ $^ $(LIBS)
+
%.so::
$(MKOUTPUTDIR)
$(P)SHLIB