Skip to content

Commit

Permalink
Add: compress option (upx required)
Browse files Browse the repository at this point in the history
  • Loading branch information
z00m128 authored May 30, 2019
1 parent 7147bcd commit 8a10c05
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile.win
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ CREATEDIR=mkdir -p
INSTALL=cp
UNINSTALL=rm -f
WINDRES=windres.exe --preprocessor "cpp.exe"
COMPRESS=upx.exe --best -vk --overlay=skip --compress-icons=0

EXE=sjasmplus.exe

Expand Down Expand Up @@ -77,6 +78,9 @@ install:

uninstall:
$(UNINSTALL) $(PREFIX)/$(EXE)

compress:
$(COMPRESS) $(EXE)

.c.o:
$(GCC) $(CFLAGS) -o $@ -c $<
Expand Down

0 comments on commit 8a10c05

Please sign in to comment.