1
0
mirror of https://github.com/pfusik/xasm.git synced 2024-06-01 01:41:29 +00:00
xasm/Makefile
2013-10-02 13:16:42 +02:00

20 lines
385 B
Makefile

VERSION = 3.1.0
all: xasm.exe xasm.html
xasm.exe: xasm.d
dmd -O -release $<
xasm.html: xasm.1.txt
asciidoc -o - -d manpage $< | sed -e "s/527bbd;/20a0a0;/" >$@
xasm-$(VERSION)-windows.zip: xasm.exe xasm.html xasm.properties
rm -f $@ && 7z a -mx=9 -tzip $@ $^
clean:
$(RM) xasm-$(VERSION)-windows.zip xasm.exe xasm.html
.PHONY: all clean
.DELETE_ON_ERROR: