From f5aee67c07d3c557ba05a620cf3a059170b63371 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 25 Jul 2000 17:52:08 +0000 Subject: [PATCH] Added rules for message compiler .mc files. --- Make.rules.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Make.rules.in b/Make.rules.in index 2bee63806d5..19e9e4989ff 100644 --- a/Make.rules.in +++ b/Make.rules.in @@ -158,7 +158,7 @@ DLLS = \ # Implicit rules -.SUFFIXES: .rc .res .spec .spec.c .spec.o .glue.c +.SUFFIXES: .mc .rc .res .spec .spec.c .spec.o .glue.c .c.o: $(CC) -c $(ALLCFLAGS) -o $*.o $< @@ -172,6 +172,9 @@ DLLS = \ .S.o: $(CC) -c -o $*.o $< +.mc.rc: + $(WMC) -i -H /dev/null -o $@ $< + .rc.s: $(WRC) $(WRCFLAGS) $(WRCEXTRA) $(DIVINCL) $< @@ -276,7 +279,7 @@ $(EXTRASUBDIRS:%=%/__clean__): dummy -cd `dirname $@` && $(RM) $(CLEAN_FILES) clean:: $(SUBDIRS:%=%/__clean__) $(EXTRASUBDIRS:%=%/__clean__) - $(RM) $(CLEAN_FILES) $(GEN_C_SRCS) $(GEN_ASM_SRCS) $(RC_SRCS:.rc=.s) $(RC_SRCS:.rc=.h) $(PROGRAMS) + $(RM) $(CLEAN_FILES) $(GEN_C_SRCS) $(GEN_ASM_SRCS) $(RC_SRCS:.rc=.s) $(RC_SRCS:.rc=.h) $(MC_SRCS:.mc=.rc) $(PROGRAMS) # Rules for installing @@ -294,6 +297,8 @@ $(GLUE:.c=.glue.c): $(BUILD) $(TOPSRCDIR)/include/builtin16.h $(TOPSRCDIR)/inclu $(RC_SRCS:.rc=.s): $(WRC) +$(MC_SRCS:.mc=.rc): $(WMC) + $(SUBDIRS): dummy @cd $@ && $(MAKE)