diff --git a/reactos/rules.mak b/reactos/rules.mak index 108445fec5d..fab4abcc17b 100644 --- a/reactos/rules.mak +++ b/reactos/rules.mak @@ -134,6 +134,7 @@ export MKHIVE = $(Q)$(TOOLS_PATH)/mkhive/mkhive export CDMAKE = $(Q)$(TOOLS_PATH)/cdmake/cdmake export BIN2RES = $(Q)$(TOOLS_PATH)/bin2res/bin2res export XSLTPROC = $(Q)xsltproc +export MS2PS = $(Q)$(TOOLS_PATH)/ms2ps/ms2ps export STD_CFLAGS = -I$(PATH_TO_TOP)/include -I$(W32API_PATH)/include -pipe -march=i386 -D_M_IX86 export STD_CPPFLAGS = $(STD_CFLAGS) diff --git a/reactos/tools/helper.mk b/reactos/tools/helper.mk index fe6096af0d0..a9d31a35eb1 100644 --- a/reactos/tools/helper.mk +++ b/reactos/tools/helper.mk @@ -1,4 +1,4 @@ -# $Id: helper.mk,v 1.76 2004/08/15 16:38:59 chorns Exp $ +# $Id: helper.mk,v 1.77 2004/08/27 18:24:28 arty Exp $ # # Helper makefile for ReactOS modules # Variables this makefile accepts: @@ -1082,6 +1082,11 @@ endif $(WINEBUILD) $(DEFS) -o $@ --def $< %.i: %.c $(CC) $(TARGET_CFLAGS) -E $< > $@ + +# rule for msvc conversion +%.c: %_msvc.c + $(MS2PS) -try try -except except -finally finally < $< > $@ + # Kill implicit rule .o:;