Skip to content

Commit

Permalink
Add icon
Browse files Browse the repository at this point in the history
  • Loading branch information
JerwuQu committed Apr 16, 2022
1 parent 1fec0d8 commit 998f415
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ compile_commands.json
quickjs/
*.exe
blocks/
wblocks.res
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ DEP=$(wildcard src/*) quickjs

.PHONY: clean run

$(PROJ).exe: $(SRC) $(DEP)
x86_64-w64-mingw32-gcc -std=c99 -O2 -Wall -Iquickjs/include -Lquickjs/lib/quickjs -o $@ $(SRC) -static -lgdi32 -lquickjs -pthread
$(PROJ).exe: $(SRC) $(DEP) wblocks.res
x86_64-w64-mingw32-gcc -std=c99 -O2 -Wall -Iquickjs/include -Lquickjs/lib/quickjs -o $@ $(SRC) wblocks.res -static -lgdi32 -lquickjs -pthread

wblocks.res:
x86_64-w64-mingw32-windres wblocks.rc -O coff -o wblocks.res

quickjs:
@echo 'Downloading quickjs...'
Expand Down
Binary file added icon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions wblocks.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
id ICON "icon.ico"

0 comments on commit 998f415

Please sign in to comment.