mirror of
https://github.com/pfusik/xasm.git
synced 2024-11-01 00:05:53 +00:00
OS X distribution.
This commit is contained in:
parent
61327c8e5b
commit
c357fba52c
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
|||||||
*.html
|
*.html
|
||||||
*.1
|
*.1
|
||||||
*.zip
|
*.zip
|
||||||
|
*.dmg
|
||||||
|
18
Makefile
18
Makefile
@ -14,9 +14,21 @@ xasm.1: xasm.1.txt
|
|||||||
xasm-$(VERSION)-windows.zip: xasm xasm.html xasm.properties
|
xasm-$(VERSION)-windows.zip: xasm xasm.html xasm.properties
|
||||||
$(RM) $@ && 7z a -mx=9 -tzip $@ xasm.exe xasm.html xasm.properties
|
$(RM) $@ && 7z a -mx=9 -tzip $@ xasm.exe xasm.html xasm.properties
|
||||||
|
|
||||||
clean:
|
osx: xasm-$(VERSION)-osx.dmg
|
||||||
$(RM) xasm-$(VERSION)-windows.zip xasm xasm.exe xasm.html xasm.1
|
|
||||||
|
|
||||||
.PHONY: all clean
|
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/bin:
|
||||||
|
mkdir -p osx && ln -s /usr/bin $@
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(RM) xasm xasm.exe xasm.html xasm.1 xasm-$(VERSION)-windows.zip xasm-$(VERSION)-osx.dmg
|
||||||
|
rm -rf osx
|
||||||
|
|
||||||
|
.PHONY: all osx clean
|
||||||
|
|
||||||
.DELETE_ON_ERROR:
|
.DELETE_ON_ERROR:
|
||||||
|
Loading…
Reference in New Issue
Block a user