Skip to content

Commit

Permalink
Update build tools
Browse files Browse the repository at this point in the history
  • Loading branch information
calendulish committed Jun 27, 2022
1 parent 90f7975 commit 953f552
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 132 deletions.
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
MKPATH = constructor
AHK2EXE = Ahk2Exe.exe
PACKER = upx.exe

ifeq ($(PROCESSOR_ARCHITECTURE), x86)
AHKRES = resources32.bin
else
AHKRES = resources64.bin
endif

RM = /bin/rm.exe
RM = /bin/rm

object = mintty-dropdown

all: mintty-dropdown

mintty-dropdown: $(object).ahk
$(MKPATH)/$(AHK2EXE) /in $^ /bin $(MKPATH)/$(AHKRES)
$(MKPATH)/$(PACKER) $(object).exe
$(MKPATH)/$(AHK2EXE) /in $^ /base $(MKPATH)/$(AHKRES) /compress 2 /silent verbose

clean: $(object)
$(RM) -f $^.exe
Expand Down
7 changes: 2 additions & 5 deletions Makefile.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

set MKPATH=constructor
set AHK2EXE=Ahk2Exe.exe
set PACKER=upx.exe

if defined ProgramFiles(x86) (
set AHKRES=resources64.bin
Expand All @@ -22,10 +21,8 @@ echo Successfully compiled
goto:EOF

:mintty-dropdown
echo %MKPATH%\%AHK2EXE% /in %object%.ahk /bin %MKPATH%\%AHKRES%
%MKPATH%\%AHK2EXE% /in %object%.ahk /bin %MKPATH%\%AHKRES%
echo %MKPATH%\%PACKER% %object%.exe
%MKPATH%\%PACKER% %object%.exe
echo %MKPATH%\%AHK2EXE% /in %object%.ahk /base %MKPATH%\%AHKRES%
%MKPATH%\%AHK2EXE% /in %object%.ahk /base %MKPATH%\%AHKRES% /compress 2 /silent verbose
goto:EOF

:clean
Expand Down
Binary file modified constructor/Ahk2Exe.exe
Binary file not shown.
Binary file modified constructor/resources32.bin
Binary file not shown.
Binary file modified constructor/resources64.bin
Binary file not shown.
123 changes: 0 additions & 123 deletions constructor/upx.LICENSE

This file was deleted.

Binary file removed constructor/upx.exe
Binary file not shown.

0 comments on commit 953f552

Please sign in to comment.