aboutsummaryrefslogtreecommitdiff
path: root/win32/x86/Makefile
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-01-25 23:43:57 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-01-25 23:43:57 +0900
commit3a59fb7b1c7c68c70c3725b086faeeb51236f720 (patch)
tree9c02a0be99d077b9c3cfba17aa7d78e40b2b5cce /win32/x86/Makefile
parent296ef17d3452e00a8d29f76493152fe7ea53665b (diff)
corrected uncaught mistakes found with msvc
Diffstat (limited to 'win32/x86/Makefile')
-rw-r--r--win32/x86/Makefile12
1 files changed, 9 insertions, 3 deletions
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 $@