1
0
mirror of https://github.com/pfusik/xasm.git synced 2024-06-01 01:41:29 +00:00

Extend OS X compatibility: 32-bit binary for 10.6.

This commit is contained in:
Piotr Fusik 2014-07-20 17:14:36 +02:00
parent 60d28a5c24
commit 3cec1c8ee8

View File

@ -9,7 +9,7 @@ SEVENZIP = 7z a -mx=9 -bd
all: xasm xasm.html all: xasm xasm.html
xasm: xasm.d xasm: xasm.d
dmd -O -release $< dmd -of$@ -O -release $<
xasm.html: xasm.1.txt xasm.html: xasm.1.txt
asciidoc -o - $< | sed -e "s/527bbd;/20a0a0;/" >$@ asciidoc -o - $< | sed -e "s/527bbd;/20a0a0;/" >$@
@ -44,13 +44,13 @@ MANIFEST:
deb: deb:
debuild -b -us -uc debuild -b -us -uc
osx: xasm-$(VERSION)-osx.dmg osx: ../xasm-$(VERSION)-osx.dmg
../xasm-$(VERSION)-osx.dmg: osx/xasm osx/bin ../xasm-$(VERSION)-osx.dmg: osx/xasm osx/bin
hdiutil create -volname xasm-$(VERSION)-osx -srcfolder osx -imagekey zlib-level=9 -ov $@ hdiutil create -volname xasm-$(VERSION)-osx -srcfolder osx -imagekey zlib-level=9 -ov $@
osx/xasm: xasm osx/xasm: xasm.d
mkdir -p osx && cp $< $@ mkdir -p osx && dmd -of$@ -O -release -m32 -L-macosx_version_min -L10.6 $<
osx/bin: osx/bin:
mkdir -p osx && ln -s /usr/bin $@ mkdir -p osx && ln -s /usr/bin $@