Windows icon resource

This commit is contained in:
Raphael Assenat 2015-12-07 00:52:55 -05:00
parent 564fa718d7
commit 63f713f059
3 changed files with 5 additions and 1 deletions

View File

@ -10,7 +10,7 @@ endif
ifeq ($(shell uname -o), Msys)
COMPAT_OBJS=sleep.o memmem.o strcasestr.o
COMPAT_OBJS=sleep.o memmem.o strcasestr.o app.o
PLATFORM_CFLAGS=-DWINDOWS
EXTRA_LDFLAGS=-mwindows # uncomment for console output
endif
@ -38,6 +38,9 @@ gcn64ctl: main.o gcn64.o gcn64lib.o hexdump.o gc2n64_adapter.o ihex.o delay.o me
gcn64ctl_gui.o: gcn64ctl_gui.c gcn64ctl_gui.h
$(CC) $(CFLAGS) $(GTK_CFLAGS) -c $<
app.o: app.rc icon.ico
windres app.rc -o app.o
gui.xml: gcn64cfg.glade
grep -v requires gcn64cfg.glade > gui.xml

1
tools/app.rc Normal file
View File

@ -0,0 +1 @@
1 ICON "icon.ico"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB