diff options
author | Louie Shprung <louie.shprung@iridium.com> | 2021-07-27 18:06:24 -0700 |
---|---|---|
committer | Louie Shprung <louie.shprung@iridium.com> | 2021-07-27 18:06:24 -0700 |
commit | 78fa8d51fd08795dd7b3a5d4a2f675f7d213ebf1 (patch) | |
tree | 6608d91155c35b79ef66ba141f35627838902a69 /Makefile | |
parent | 9c83e979a825c8e469449f48531814fe8b2ef742 (diff) |
Embed icon in windows
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -6,8 +6,11 @@ PREFIX = /usr/local ifeq ($(OS),Windows_NT) -$(NAME): cache.o draw.o read_cfg.o group.o entry.o windows/cache.o windows/draw.o windows/read_cfg.o - $(CC) -o $(NAME) cache.o draw.o read_cfg.o group.o entry.o windows/cache.o windows/draw.o windows/read_cfg.o $(LIBS) +$(NAME): cache.o draw.o read_cfg.o group.o entry.o windows/cache.o windows/draw.o windows/read_cfg.o windows/make_icon.res + $(CC) -o $(NAME) cache.o draw.o read_cfg.o group.o entry.o windows/cache.o windows/draw.o windows/read_cfg.o windows/make_icon.res $(LIBS) + +windows/make_icon.res: windows/make_icon.rc + windres windows/make_icon.rc -O coff -o windows/make_icon.res windows/draw.o: windows/draw.c include/draw.h windows/read_cfg.o: windows/read_cfg.c include/read_cfg.h @@ -35,6 +38,7 @@ clean: rm -f *.o rm -f unix/*.o rm -f windows/*.o + rm -f windows/*.res rm -f $(NAME) rm -f $(NAME).exe |