{$(SSYS)}.c{$(OBJ)}.o:
@$(CC) $(cflagsUtil) -Fo$@ $<
+{$(SSYS)}.cpp{$(OBJ)}.o:
+ @$(CC) $(cflagsUtil) -Fo$@ $<
+
#==========================================
# Rules for files in sys\winnt
#==========================================
DLBOBJ = $(O)dlb.o
+REGEX = $(O)cppregex.o
+
TTYOBJ = $(O)topl.o $(O)getline.o $(O)wintty.o
SOBJ = $(O)winnt.o $(O)pcsys.o $(O)pcunix.o \
$(VOBJ11) $(VOBJ12) $(VOBJ13) $(VOBJ14) $(VOBJ15) \
$(VOBJ16) $(VOBJ17) $(VOBJ18) $(VOBJ19) $(VOBJ20) \
$(VOBJ21) $(VOBJ22) $(VOBJ23) $(VOBJ24) $(VOBJ25) \
- $(VOBJ26) $(VOBJ27) $(VOBJ28) $(VOBJ29)
+ $(VOBJ26) $(VOBJ27) $(VOBJ28) $(VOBJ29) $(REGEX)
WINPOBJ = $(WINPORT)
$(O)panic.o: $(U)panic.c $(CONFIG_H)
@$(CC) $(cflagsUtil) -Fo$@ $(U)panic.c
+#
+# sys/share dependencies
+#
+
+#(O)cppregex.o: $(O)cppregex.cpp $(HACK_H)
+ @$(CC) $(cflagsUtil) -Fo$@ ..\sys\share\cppregex.cpp
+
#
# The rest are stolen from sys/unix/Makefile.src,
# with the following changes: