mirror of
https://github.com/pfusik/xasm.git
synced 2024-10-31 08:06:23 +00:00
Extend OS X compatibility: 32-bit binary for 10.6.
This commit is contained in:
parent
60d28a5c24
commit
3cec1c8ee8
8
Makefile
8
Makefile
@ -9,7 +9,7 @@ SEVENZIP = 7z a -mx=9 -bd
|
||||
all: xasm xasm.html
|
||||
|
||||
xasm: xasm.d
|
||||
dmd -O -release $<
|
||||
dmd -of$@ -O -release $<
|
||||
|
||||
xasm.html: xasm.1.txt
|
||||
asciidoc -o - $< | sed -e "s/527bbd;/20a0a0;/" >$@
|
||||
@ -44,13 +44,13 @@ MANIFEST:
|
||||
deb:
|
||||
debuild -b -us -uc
|
||||
|
||||
osx: xasm-$(VERSION)-osx.dmg
|
||||
osx: ../xasm-$(VERSION)-osx.dmg
|
||||
|
||||
../xasm-$(VERSION)-osx.dmg: osx/xasm osx/bin
|
||||
hdiutil create -volname xasm-$(VERSION)-osx -srcfolder osx -imagekey zlib-level=9 -ov $@
|
||||
|
||||
osx/xasm: xasm
|
||||
mkdir -p osx && cp $< $@
|
||||
osx/xasm: xasm.d
|
||||
mkdir -p osx && dmd -of$@ -O -release -m32 -L-macosx_version_min -L10.6 $<
|
||||
|
||||
osx/bin:
|
||||
mkdir -p osx && ln -s /usr/bin $@
|
||||
|
Loading…
Reference in New Issue
Block a user