From 3a59fb7b1c7c68c70c3725b086faeeb51236f720 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Wed, 25 Jan 2017 23:43:57 +0900 Subject: corrected uncaught mistakes found with msvc --- win32/x86/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'win32/x86') diff --git a/win32/x86/Makefile b/win32/x86/Makefile index e5aad93..8e16579 100644 --- a/win32/x86/Makefile +++ b/win32/x86/Makefile @@ -35,11 +35,17 @@ LIBS=-nostdlib -s -Wl,-e_entry@4 \ -lgdi32 -lshlwapi -lwinmm -lshell32 $(TARGET): $(OBJS) - $(CC) -o $@ $(OBJS) $(LIBS) - $(STRIP) $@ + @echo " CCLD $@" + @$(CC) -o $@ $(OBJS) $(LIBS) + @$(STRIP) $@ + +%.o: %.c + @echo " CC $@" + @$(CC) $(CFLAGS) -c $< -o $@ %.o: %.rc $(ICON) - $(WINDRES) -o $@ -i $< + @echo " WINDRES $@" + @$(WINDRES) -o $@ -i $< $(ICON): $(ICONFILES) convert $(ICONFILES) -colors 256 $@ -- cgit v1.2.3