List 16-bit resources separately as RC_SRCS16.
diff --git a/Make.rules.in b/Make.rules.in
index 8e791ec..6445766 100644
--- a/Make.rules.in
+++ b/Make.rules.in
@@ -271,7 +271,7 @@
cd `dirname $@` && $(MAKE) depend
depend: $(MAKEDEP) $(GEN_C_SRCS) $(SUBDIRS:%=%/__depend__)
- $(MAKEDEP) $(DIVINCL) -C$(SRCDIR) $(C_SRCS) $(RC_SRCS) $(MC_SRCS) $(EXTRA_SRCS) -C. $(GEN_C_SRCS)
+ $(MAKEDEP) $(DIVINCL) -C$(SRCDIR) $(C_SRCS) $(RC_SRCS) $(RC_SRCS16) $(MC_SRCS) $(EXTRA_SRCS) -C. $(GEN_C_SRCS)
# Rules for cleaning
@@ -282,7 +282,7 @@
-cd `dirname $@` && $(RM) $(CLEAN_FILES)
clean:: $(SUBDIRS:%=%/__clean__) $(EXTRASUBDIRS:%=%/__clean__)
- $(RM) $(CLEAN_FILES) $(GEN_C_SRCS) $(GEN_ASM_SRCS) $(RC_SRCS:.rc=.res) $(MC_SRCS:.mc=.mc.rc) $(PROGRAMS)
+ $(RM) $(CLEAN_FILES) $(GEN_C_SRCS) $(GEN_ASM_SRCS) $(RC_SRCS:.rc=.res) $(RC_SRCS16:.rc=.res) $(MC_SRCS:.mc=.mc.rc) $(PROGRAMS)
# Rules for installing
@@ -300,6 +300,8 @@
$(RC_SRCS:.rc=.res): $(WRC)
+$(RC_SRCS16:.rc=.res): $(WRC)
+
$(MC_SRCS:.mc=.mc.rc): $(WMC)
$(SUBDIRS): dummy
diff --git a/dlls/gdi/Makefile.in b/dlls/gdi/Makefile.in
index 7648a9c..c24aa85 100644
--- a/dlls/gdi/Makefile.in
+++ b/dlls/gdi/Makefile.in
@@ -15,7 +15,9 @@
wing.c
RC_SRCS= \
- version.rc \
+ version.rc
+
+RC_SRCS16= \
version16.rc
GLUE = printdrv.c thunk.c
diff --git a/dlls/kernel/Makefile.in b/dlls/kernel/Makefile.in
index 9f64aab..0ea6a7c 100644
--- a/dlls/kernel/Makefile.in
+++ b/dlls/kernel/Makefile.in
@@ -24,7 +24,9 @@
wowthunk.c
RC_SRCS = \
- kernel.rc \
+ kernel.rc
+
+RC_SRCS16 = \
version16.rc
MC_SRCS = \
diff --git a/dlls/user/Makefile.in b/dlls/user/Makefile.in
index 0fef135..6f36277 100644
--- a/dlls/user/Makefile.in
+++ b/dlls/user/Makefile.in
@@ -24,9 +24,11 @@
wsprintf.c
RC_SRCS = \
+ resources/user32.rc
+
+RC_SRCS16 = \
resources/display.rc \
resources/mouse.rc \
- resources/user32.rc \
resources/version16.rc
GLUE = thunk.c