Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
Make packages using make
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed Dec 10, 2020
1 parent 148b1b9 commit b6f6f39
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
clean:
rm src/*.dll
rm src/*.dll || true
rm -rf build
rm fake_ttf_*.zip

build_x86:
mkdir -p build
fasm src/fake_ttf.asm build/fake_ttf.dll

build_x64:
mkdir -p build
fasm src/fake_ttf_x64.asm build/fake_ttf.dll
fasm src/fake_ttf_x64.asm build/fake_ttf_x64.dll

package_x86: build_x86
cp install_fake_ttf.bat build/
cd build && zip -r ../fake_ttf_x86.zip fake_ttf.dll install_fake_ttf.bat

package_x64: build_x64
cp install_fake_ttf_x64.bat build/
cd build && zip -r ../fake_ttf_x64.zip fake_ttf_x64.dll install_fake_ttf_x64.bat

package_all: clean package_x86 package_x64

0 comments on commit b6f6f39

Please sign in to comment.