diff --git a/9ball.ico b/9ball.ico new file mode 100644 index 0000000..a478755 Binary files /dev/null and b/9ball.ico differ diff --git a/9ball.rc b/9ball.rc new file mode 100644 index 0000000..ed41d0d --- /dev/null +++ b/9ball.rc @@ -0,0 +1 @@ +IDI_ICON1 ICON DISCARDABLE "9ball.ico" diff --git a/Make.win32 b/Make.win32 index 80cbfff..bec13f9 100644 --- a/Make.win32 +++ b/Make.win32 @@ -9,6 +9,7 @@ AR=$(MING)ar CC=$(MING)gcc AS=$(MING)as RANLIB=$(MING)ranlib +WINDRES=$(MING)windres CFLAGS=-Wall -Wno-missing-braces -I$(ROOT)/include -I$(ROOT) -I$(ROOT)/kern -c -D_X86_ -DIS_32 -DWINDOWS -O2 O=o FS=fs-win32 @@ -18,6 +19,7 @@ GUI=win32 LDFLAGS=-mwindows LDADD=-lkernel32 -ladvapi32 -lgdi32 -lmpr -lwsock32 -lmsvcrt -lmingw32 TARG=drawterm.exe +XOFILES=9ball.$O # Windows via MSVC #AR=??? @@ -35,3 +37,6 @@ all: default libmachdep.a: (cd win32-386; make) +9ball.$O: 9ball.rc 9ball.ico + $(WINDRES) -i 9ball.rc -o 9ball.o + diff --git a/Makefile b/Makefile index 9436a22..f2f1a24 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,7 @@ OFILES=\ secstore.$O\ latin1.$O\ $(OS)-factotum.$O\ + $(XOFILES)\ LIBS1=\ kern/libkern.a\