2 # Simple preprocessor which converts a source file from ms-seh to pseh.
6 TARGET
= ms2ps
$(EXE_POSTFIX
)
12 CLEAN_FILES
= *.o ms2ps
$(EXE_POSTFIX
)
14 HOST_CFLAGS
= -I.
-Werror
-Wall
17 $(HOST_CC
) $(HOST_CFLAGS
) -c ms2ps.
cpp -o ms2ps.o
19 ms2ps
$(EXE_POSTFIX
): $(OBJECTS
)
20 $(HOST_CC
) $(OBJECTS
) -o ms2ps
$(EXE_POSTFIX
) -lstdc
++
22 ifeq ($(HOST
),mingw32-linux
)
25 rm -f ms2ps
$(EXE_POSTFIX
)
27 ifeq ($(HOST
),mingw32-windows
)
30 -del ms2ps
$(EXE_POSTFIX
)
35 include $(PATH_TO_TOP
)/rules.mak